Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/c1/c1_IR.hpp Mon Feb 13 23:13:37 2012 +0100 +++ b/src/share/vm/c1/c1_IR.hpp Mon Feb 13 23:15:53 2012 +0100 @@ -237,8 +237,8 @@ // reexecute allowed only for the topmost frame bool reexecute = topmost ? should_reexecute() : false; bool return_oop = false; // This flag will be ignored since it used only for C2 with escape analysis. - ResetNoHandleMark rnhm; - recorder->describe_scope(pc_offset, (methodOop)scope()->method()->get_oop(), bci(), reexecute, false, is_method_handle_invoke, return_oop, locvals, expvals, monvals); + methodHandle null_mh; + recorder->describe_scope(pc_offset, null_mh, scope()->method(), bci(), reexecute, false, is_method_handle_invoke, return_oop, locvals, expvals, monvals); } };