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 inline object
resolveNativeMethodData(Thread* t, object method) resolveNativeMethodData(Thread* t, object method)
{ {
if (objectClass(t, methodCode(t, method)) if (methodCode(t, method) == 0) {
== arrayBody(t, t->m->types, Machine::ByteArrayType))
{
void* p = resolveNativeMethod(t, method); void* p = resolveNativeMethod(t, method);
if (LIKELY(p)) { if (LIKELY(p)) {
PROTECT(t, method); PROTECT(t, method);