comparison src/share/vm/c1/c1_IR.hpp @ 4583:597bc897257d

Made DebugInformationRecorder::describe_scope() take both a methodHandle _and_ a ciMethod* parameter to avoid creating handles in scopes where it is not allowed.
author Doug Simon <doug.simon@oracle.com>
date Mon, 13 Feb 2012 23:15:53 +0100
parents b70d180ec022
children 33df1aeaebbf
comparison
equal deleted inserted replaced
4582:b24386206122 4583:597bc897257d
235 DebugToken* expvals = recorder->create_scope_values(expressions()); 235 DebugToken* expvals = recorder->create_scope_values(expressions());
236 DebugToken* monvals = recorder->create_monitor_values(monitors()); 236 DebugToken* monvals = recorder->create_monitor_values(monitors());
237 // reexecute allowed only for the topmost frame 237 // reexecute allowed only for the topmost frame
238 bool reexecute = topmost ? should_reexecute() : false; 238 bool reexecute = topmost ? should_reexecute() : false;
239 bool return_oop = false; // This flag will be ignored since it used only for C2 with escape analysis. 239 bool return_oop = false; // This flag will be ignored since it used only for C2 with escape analysis.
240 ResetNoHandleMark rnhm; 240 methodHandle null_mh;
241 recorder->describe_scope(pc_offset, (methodOop)scope()->method()->get_oop(), bci(), reexecute, false, is_method_handle_invoke, return_oop, locvals, expvals, monvals); 241 recorder->describe_scope(pc_offset, null_mh, scope()->method(), bci(), reexecute, false, is_method_handle_invoke, return_oop, locvals, expvals, monvals);
242 } 242 }
243 }; 243 };
244 244
245 245
246 class CodeEmitInfo: public CompilationResourceObj { 246 class CodeEmitInfo: public CompilationResourceObj {