From 9601f2fb0467d9fd21c8b967a260e1d3bffe5d89 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Wed, 20 Feb 2008 10:48:08 -0700 Subject: [PATCH] fix process=interpret build --- src/interpret.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/interpret.cpp b/src/interpret.cpp index 16a040b87c..bbf24a98bb 100644 --- a/src/interpret.cpp +++ b/src/interpret.cpp @@ -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);