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

Unified Diff: src/objects.cc

Issue 2135273002: [interpreter] Reduce dependencies in bytecodes.{h,cc} (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix static const Register definitions for bot in roll for Windows. Created 4 years, 5 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/interpreter/interpreter-assembler.h ('k') | src/runtime/runtime-interpreter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index 01c2e1a4c99f9c424af9bf567d331cb0ca9df11a..28b1efb5cf5ecb7e8a09f04335bcc1fc372bb301 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -38,6 +38,7 @@
#include "src/ic/ic.h"
#include "src/identity-map.h"
#include "src/interpreter/bytecode-array-iterator.h"
+#include "src/interpreter/bytecode-decoder.h"
#include "src/interpreter/interpreter.h"
#include "src/isolate-inl.h"
#include "src/keys.h"
@@ -14405,7 +14406,8 @@ void BytecodeArray::Disassemble(std::ostream& os) {
const uint8_t* current_address = base_address + iterator.current_offset();
os << reinterpret_cast<const void*>(current_address) << " @ "
<< std::setw(4) << iterator.current_offset() << " : ";
- interpreter::Bytecodes::Decode(os, current_address, parameter_count());
+ interpreter::BytecodeDecoder::Decode(os, current_address,
+ parameter_count());
if (interpreter::Bytecodes::IsJump(iterator.current_bytecode())) {
const void* jump_target = base_address + iterator.GetJumpTargetOffset();
os << " (" << jump_target << " @ " << iterator.GetJumpTargetOffset()
« no previous file with comments | « src/interpreter/interpreter-assembler.h ('k') | src/runtime/runtime-interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698