| OLD | NEW |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef TEST_CCTEST_INTERPRETER_BYTECODE_EXPECTATIONS_PRINTER_H_ | 5 #ifndef TEST_CCTEST_INTERPRETER_BYTECODE_EXPECTATIONS_PRINTER_H_ |
| 6 #define TEST_CCTEST_INTERPRETER_BYTECODE_EXPECTATIONS_PRINTER_H_ | 6 #define TEST_CCTEST_INTERPRETER_BYTECODE_EXPECTATIONS_PRINTER_H_ |
| 7 | 7 |
| 8 #include <iostream> | 8 #include <iostream> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "src/interpreter/bytecodes.h" | 12 #include "src/interpreter/bytecodes.h" |
| 13 #include "src/objects.h" | 13 #include "src/objects.h" |
| 14 | 14 |
| 15 namespace v8 { | 15 namespace v8 { |
| 16 | 16 |
| 17 class Isolate; | 17 class Isolate; |
| 18 | 18 |
| 19 namespace internal { | 19 namespace internal { |
| 20 |
| 21 class SourcePositionTableIterator; |
| 22 |
| 20 namespace interpreter { | 23 namespace interpreter { |
| 21 | 24 |
| 22 class BytecodeArrayIterator; | 25 class BytecodeArrayIterator; |
| 23 class SourcePositionTableIterator; | |
| 24 | 26 |
| 25 class BytecodeExpectationsPrinter final { | 27 class BytecodeExpectationsPrinter final { |
| 26 public: | 28 public: |
| 27 enum class ConstantPoolType { | 29 enum class ConstantPoolType { |
| 28 kUnknown, | 30 kUnknown, |
| 29 kString, | 31 kString, |
| 30 kNumber, | 32 kNumber, |
| 31 kMixed, | 33 kMixed, |
| 32 }; | 34 }; |
| 33 | 35 |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 | 118 |
| 117 static const char* const kDefaultTopFunctionName; | 119 static const char* const kDefaultTopFunctionName; |
| 118 static const char* const kIndent; | 120 static const char* const kIndent; |
| 119 }; | 121 }; |
| 120 | 122 |
| 121 } // namespace interpreter | 123 } // namespace interpreter |
| 122 } // namespace internal | 124 } // namespace internal |
| 123 } // namespace v8 | 125 } // namespace v8 |
| 124 | 126 |
| 125 #endif // TEST_CCTEST_INTERPRETER_BYTECODE_EXPECTATIONS_PRINTER_H_ | 127 #endif // TEST_CCTEST_INTERPRETER_BYTECODE_EXPECTATIONS_PRINTER_H_ |
| OLD | NEW |