Merge pull request #282 from dicej/protect

remove redundant PROTECT usage
This commit is contained in:
Joshua Warner 2014-06-23 11:30:10 -06:00
commit 2eb6746658

View File

@ -513,8 +513,6 @@ invoke(Thread* t, object method, object instance, object args)
}
if (methodParameterCount(t, method)) {
PROTECT(t, method);
unsigned specLength = byteArrayLength(t, methodSpec(t, method));
THREAD_RUNTIME_ARRAY(t, char, spec, specLength);
memcpy(RUNTIME_ARRAY_BODY(spec),