Do not create handle in BreakLocationIterator::ClearDebugBreakAtIC
Debug::HandleWeakDebugInfo weak callback is crashed when there is no handle scopes on the stack. Review URL: http://codereview.chromium.org/2835035 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5024 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
b941a40a82
commit
ae81e558fe
@ -472,8 +472,9 @@ void BreakLocationIterator::ClearDebugBreakAtIC() {
|
||||
|
||||
RelocInfo::Mode mode = rmode();
|
||||
if (RelocInfo::IsCodeTarget(mode)) {
|
||||
AssertNoAllocation nogc;
|
||||
Address target = original_rinfo()->target_address();
|
||||
Handle<Code> code(Code::GetCodeFromTargetAddress(target));
|
||||
Code* code = Code::GetCodeFromTargetAddress(target);
|
||||
|
||||
// Restore the inlined version of keyed stores to get back to the
|
||||
// fast case. We need to patch back the keyed store because no
|
||||
|
Loading…
Reference in New Issue
Block a user