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

Side by Side Diff: test/cctest/interpreter/source-position-matcher.h

Issue 2095893002: Use source position table for unoptimized code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698