Mercurial > hg > truffle
comparison src/share/vm/graal/graalCodeInstaller.cpp @ 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 | 3c21eee8ab4d |
children | 41034914e2ee |
comparison
equal
deleted
inserted
replaced
4582:b24386206122 | 4583:597bc897257d |
---|---|
534 bool throw_exception = false; | 534 bool throw_exception = false; |
535 if (CiFrame::rethrowException(frame)) { | 535 if (CiFrame::rethrowException(frame)) { |
536 throw_exception = true; | 536 throw_exception = true; |
537 } | 537 } |
538 | 538 |
539 _debug_recorder->describe_scope(pc_offset, method, bci, reexecute, throw_exception, false, false, locals_token, expressions_token, monitors_token); | 539 _debug_recorder->describe_scope(pc_offset, method, NULL, bci, reexecute, throw_exception, false, false, locals_token, expressions_token, monitors_token); |
540 } else { | 540 } else { |
541 _debug_recorder->describe_scope(pc_offset, method, bci, reexecute, false, false, false, NULL, NULL, NULL); | 541 _debug_recorder->describe_scope(pc_offset, method, NULL, bci, reexecute, false, false, false, NULL, NULL, NULL); |
542 } | 542 } |
543 } | 543 } |
544 | 544 |
545 void CodeInstaller::site_Safepoint(CodeBuffer& buffer, jint pc_offset, oop site) { | 545 void CodeInstaller::site_Safepoint(CodeBuffer& buffer, jint pc_offset, oop site) { |
546 oop debug_info = CiTargetMethod_Safepoint::debugInfo(site); | 546 oop debug_info = CiTargetMethod_Safepoint::debugInfo(site); |