src/hotspot/share/interpreter/interpreterRuntime.cpp
changeset 59069 e0d59f0c2b7d
parent 59056 15936b142f86
--- a/src/hotspot/share/interpreter/interpreterRuntime.cpp	Wed Nov 13 15:16:45 2019 -0800
+++ b/src/hotspot/share/interpreter/interpreterRuntime.cpp	Thu Nov 14 10:02:52 2019 +0800
@@ -356,7 +356,7 @@
 #ifdef CC_INTERP
 // As legacy note_trap, but we have more arguments.
 JRT_ENTRY(void, InterpreterRuntime::note_trap(JavaThread* thread, int reason, Method *method, int trap_bci))
-  methodHandle trap_method(method);
+  methodHandle trap_method(thread, method);
   note_trap_inner(thread, reason, trap_method, trap_bci, THREAD);
 JRT_END