Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Unified Diff: src/deoptimizer.cc

Issue 1699013002: [Interpreter] Push BytecodeArray onto interpreted stack frames. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Modify EnterBytecodeDispatch too Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/arm64/builtins-arm64.cc ('k') | src/frames.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/deoptimizer.cc
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc
index 9528cbb299741f80854985b992cf5ff0f5c07439..460601663fed0cb424bf3d69ebb02b9a0d45725d 100644
--- a/src/deoptimizer.cc
+++ b/src/deoptimizer.cc
@@ -1251,12 +1251,12 @@ void Deoptimizer::DoComputeInterpretedFrame(int frame_index,
Object* new_target = isolate_->heap()->undefined_value();
WriteValueToOutput(new_target, 0, frame_index, output_offset, "new_target ");
- // Set the dispatch table pointer.
+ // Set the bytecode array pointer.
output_offset -= kPointerSize;
input_offset -= kPointerSize;
- Address dispatch_table = isolate()->interpreter()->dispatch_table_address();
- WriteValueToOutput(reinterpret_cast<Object*>(dispatch_table), 0, frame_index,
- output_offset, "dispatch_table ");
+ Object* bytecode_array = shared->bytecode_array();
+ WriteValueToOutput(bytecode_array, 0, frame_index, output_offset,
+ "bytecode array ");
// The bytecode offset was mentioned explicitly in the BEGIN_FRAME.
output_offset -= kPointerSize;
« no previous file with comments | « src/arm64/builtins-arm64.cc ('k') | src/frames.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698