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_SOURCE_POSITION_COMPARER_H_ | 5 #ifndef TEST_CCTEST_INTERPRETER_SOURCE_POSITION_COMPARER_H_ |
6 #define TEST_CCTEST_INTERPRETER_SOURCE_POSITION_COMPARER_H_ | 6 #define TEST_CCTEST_INTERPRETER_SOURCE_POSITION_COMPARER_H_ |
7 | 7 |
8 #include "src/interpreter/bytecode-array-iterator.h" | 8 #include "src/interpreter/bytecode-array-iterator.h" |
9 #include "src/interpreter/source-position-table.h" | |
10 #include "src/objects.h" | 9 #include "src/objects.h" |
| 10 #include "src/source-position-table.h" |
11 #include "src/v8.h" | 11 #include "src/v8.h" |
12 | 12 |
13 namespace v8 { | 13 namespace v8 { |
14 namespace internal { | 14 namespace internal { |
15 namespace interpreter { | 15 namespace interpreter { |
16 | 16 |
17 class SourcePositionMatcher final { | 17 class SourcePositionMatcher final { |
18 public: | 18 public: |
19 bool Match(Handle<BytecodeArray> original, Handle<BytecodeArray> optimized); | 19 bool Match(Handle<BytecodeArray> original, Handle<BytecodeArray> optimized); |
20 | 20 |
(...skipping 20 matching lines...) Expand all Loading... |
41 | 41 |
42 void AdvanceBytecodeIterator(BytecodeArrayIterator* iterator, | 42 void AdvanceBytecodeIterator(BytecodeArrayIterator* iterator, |
43 int bytecode_offset); | 43 int bytecode_offset); |
44 }; | 44 }; |
45 | 45 |
46 } // namespace interpreter | 46 } // namespace interpreter |
47 } // namespace internal | 47 } // namespace internal |
48 } // namespace v8 | 48 } // namespace v8 |
49 | 49 |
50 #endif // TEST_CCTEST_INTERPRETER_SOURCE_POSITION_COMPARER_H_ | 50 #endif // TEST_CCTEST_INTERPRETER_SOURCE_POSITION_COMPARER_H_ |
OLD | NEW |