Chromium Code Reviews

Unified Diff: src/isolate.cc

Issue 985803002: Remove code object from StackHandler. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « src/ia32/macro-assembler-ia32.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.cc
diff --git a/src/isolate.cc b/src/isolate.cc
index 9c2d9e5a77c18d3c0c9939e2ee5746c9c39fb78b..baa4e95c2e050fc6256e286484d0476c0a9b7659 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -1076,7 +1076,7 @@ Object* Isolate::FindHandler() {
thread_local_top()->handler_ = handler->next()->address();
// Gather information from the handler.
- code = handler->code();
+ code = frame->LookupCode();
handler_sp = handler->address() + StackHandlerConstants::kSize;
offset = Smi::cast(code->handler_table()->get(0))->value();
break;
@@ -1091,7 +1091,7 @@ Object* Isolate::FindHandler() {
thread_local_top()->handler_ = handler->next()->address();
// Gather information from the handler.
- code = handler->code();
+ code = frame->LookupCode();
context = handler->context();
offset = Smi::cast(code->handler_table()->get(handler->index()))->value();
handler_sp = handler->address() + StackHandlerConstants::kSize;
« no previous file with comments | « src/ia32/macro-assembler-ia32.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine