diff options
Diffstat (limited to 'deps/v8/test/cctest/interpreter/bytecode-expectations-printer.h')
-rw-r--r-- | deps/v8/test/cctest/interpreter/bytecode-expectations-printer.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/deps/v8/test/cctest/interpreter/bytecode-expectations-printer.h b/deps/v8/test/cctest/interpreter/bytecode-expectations-printer.h index 0fcead5716..c64ca90c81 100644 --- a/deps/v8/test/cctest/interpreter/bytecode-expectations-printer.h +++ b/deps/v8/test/cctest/interpreter/bytecode-expectations-printer.h @@ -17,6 +17,9 @@ namespace v8 { class Isolate; namespace internal { + +class SourcePositionTableIterator; + namespace interpreter { class BytecodeArrayIterator; @@ -65,12 +68,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 +117,7 @@ class BytecodeExpectationsPrinter final { std::string test_function_name_; static const char* const kDefaultTopFunctionName; + static const char* const kIndent; }; } // namespace interpreter |