fix process=interpret build

This commit is contained in:
Joel Dice 2008-02-20 10:48:08 -07:00
parent 1f48d39a8a
commit 9601f2fb04

View File

@ -462,9 +462,7 @@ makeNativeMethodData(Thread* t, object method, void* function)
inline object
resolveNativeMethodData(Thread* t, object method)
{
if (objectClass(t, methodCode(t, method))
== arrayBody(t, t->m->types, Machine::ByteArrayType))
{
if (methodCode(t, method) == 0) {
void* p = resolveNativeMethod(t, method);
if (LIKELY(p)) {
PROTECT(t, method);