Index: test/cctest/interpreter/bytecode-expectations-printer.h |
diff --git a/test/cctest/interpreter/bytecode-expectations-printer.h b/test/cctest/interpreter/bytecode-expectations-printer.h |
index 0fcead571681874b79760f6f46cb7b0ecfbc5dfd..32b8ff41ed6bdce2aa69ce95b3bbfa85d057468c 100644 |
--- a/test/cctest/interpreter/bytecode-expectations-printer.h |
+++ b/test/cctest/interpreter/bytecode-expectations-printer.h |
@@ -20,6 +20,7 @@ namespace internal { |
namespace interpreter { |
class BytecodeArrayIterator; |
+class SourcePositionTableIterator; |
class BytecodeExpectationsPrinter final { |
public: |
@@ -65,12 +66,15 @@ class BytecodeExpectationsPrinter final { |
void PrintEscapedString(std::ostream& stream, // NOLINT |
const std::string& string) const; |
void PrintBytecodeOperand(std::ostream& stream, // NOLINT |
- const BytecodeArrayIterator& bytecode_iter, |
+ const BytecodeArrayIterator& bytecode_iterator, |
const Bytecode& bytecode, int op_index, |
int parameter_count) const; |
void PrintBytecode(std::ostream& stream, // NOLINT |
- const BytecodeArrayIterator& bytecode_iter, |
+ const BytecodeArrayIterator& bytecode_iterator, |
int parameter_count) const; |
+ void PrintSourcePosition(std::ostream& stream, // NOLINT |
+ SourcePositionTableIterator& source_iterator, |
+ int bytecode_offset) const; |
void PrintV8String(std::ostream& stream, // NOLINT |
i::String* string) const; |
void PrintConstant(std::ostream& stream, // NOLINT |
@@ -111,6 +115,7 @@ class BytecodeExpectationsPrinter final { |
std::string test_function_name_; |
static const char* const kDefaultTopFunctionName; |
+ static const char* const kIndent; |
}; |
} // namespace interpreter |