mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
various bugfixes to get Tree.java to work
This commit is contained in:
@ -356,20 +356,6 @@ popFrame(Thread* t)
|
||||
}
|
||||
}
|
||||
|
||||
object
|
||||
findInterfaceMethod(Thread* t, object method, object class_)
|
||||
{
|
||||
object interface = methodClass(t, method);
|
||||
object itable = classInterfaceTable(t, class_);
|
||||
for (unsigned i = 0; i < arrayLength(t, itable); i += 2) {
|
||||
if (arrayBody(t, itable, i) == interface) {
|
||||
return arrayBody(t, arrayBody(t, itable, i + 1),
|
||||
methodOffset(t, method));
|
||||
}
|
||||
}
|
||||
abort(t);
|
||||
}
|
||||
|
||||
object
|
||||
makeNativeMethodData(Thread* t, object method, void* function)
|
||||
{
|
||||
|
Reference in New Issue
Block a user