mirror of
https://github.com/corda/corda.git
synced 2025-06-17 06:38:21 +00:00
call vm::dynamicCall directly, instead of through System
This commit is contained in:
committed by
Joshua Warner
parent
d95a8a9626
commit
e6eead07fa
@ -597,13 +597,12 @@ invokeNativeSlow(Thread* t, object method, void* function)
|
||||
t->checkpoint->noThrow = true;
|
||||
THREAD_RESOURCE(t, bool, noThrow, t->checkpoint->noThrow = noThrow);
|
||||
|
||||
result = t->m->system->call
|
||||
(function,
|
||||
RUNTIME_ARRAY_BODY(args),
|
||||
RUNTIME_ARRAY_BODY(types),
|
||||
count,
|
||||
footprint * BytesPerWord,
|
||||
returnType);
|
||||
result = vm::dynamicCall(function,
|
||||
RUNTIME_ARRAY_BODY(args),
|
||||
RUNTIME_ARRAY_BODY(types),
|
||||
count,
|
||||
footprint * BytesPerWord,
|
||||
returnType);
|
||||
}
|
||||
|
||||
if (DebugRun) {
|
||||
|
Reference in New Issue
Block a user