Index: src/interpreter/bytecode-array-accessor.cc |
diff --git a/src/interpreter/bytecode-array-accessor.cc b/src/interpreter/bytecode-array-accessor.cc |
index d351e223954bed3c924a898b82e7485c36014dc6..1d19f7d4b0ccc6cf853a886d67759bdc26d1b7a0 100644 |
--- a/src/interpreter/bytecode-array-accessor.cc |
+++ b/src/interpreter/bytecode-array-accessor.cc |
@@ -189,6 +189,12 @@ int BytecodeArrayAccessor::GetJumpTargetOffset() const { |
} |
} |
+std::ostream& BytecodeArrayAccessor::PrintTo(std::ostream& os) const { |
+ return BytecodeDecoder::Decode( |
+ os, bytecode_array()->GetFirstBytecodeAddress() + bytecode_offset_, |
+ bytecode_array()->parameter_count()); |
+} |
+ |
} // namespace interpreter |
} // namespace internal |
} // namespace v8 |