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

Unified Diff: test/cctest/interpreter/bytecode-expectations-printer.cc

Issue 2095893002: Use source position table for unoptimized code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix gc mole Created 4 years, 6 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
Index: test/cctest/interpreter/bytecode-expectations-printer.cc
diff --git a/test/cctest/interpreter/bytecode-expectations-printer.cc b/test/cctest/interpreter/bytecode-expectations-printer.cc
index 83f11c6d424c779a89aa25065fdb50e5aa640648..69638cc15fef50a320335444de8c235395ee3e9f 100644
--- a/test/cctest/interpreter/bytecode-expectations-printer.cc
+++ b/test/cctest/interpreter/bytecode-expectations-printer.cc
@@ -21,7 +21,7 @@
#include "src/interpreter/bytecodes.h"
#include "src/interpreter/interpreter-intrinsics.h"
#include "src/interpreter/interpreter.h"
-#include "src/interpreter/source-position-table.h"
+#include "src/source-position-table.h"
namespace v8 {
namespace internal {
@@ -201,7 +201,7 @@ void BytecodeExpectationsPrinter::PrintSourcePosition(
int bytecode_offset) const {
static const size_t kPositionWidth = 4;
if (!source_iterator.done() &&
- source_iterator.bytecode_offset() == bytecode_offset) {
+ source_iterator.code_offset() == bytecode_offset) {
stream << "/* " << std::setw(kPositionWidth)
<< source_iterator.source_position();
if (source_iterator.is_statement()) {
« no previous file with comments | « test/cctest/interpreter/bytecode-expectations-printer.h ('k') | test/cctest/interpreter/source-position-matcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698