OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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 #include "src/interpreter/bytecode-generator.h" | 5 #include "src/interpreter/bytecode-generator.h" |
6 | 6 |
7 #include <stack> | 7 #include <stack> |
8 | 8 |
9 #include "src/compiler.h" | 9 #include "src/compiler.h" |
10 #include "src/full-codegen/full-codegen.h" | |
11 #include "src/interpreter/control-flow-builders.h" | 10 #include "src/interpreter/control-flow-builders.h" |
12 #include "src/objects.h" | 11 #include "src/objects.h" |
13 #include "src/parser.h" | 12 #include "src/parser.h" |
14 #include "src/scopes.h" | 13 #include "src/scopes.h" |
15 #include "src/token.h" | 14 #include "src/token.h" |
16 | 15 |
17 namespace v8 { | 16 namespace v8 { |
18 namespace internal { | 17 namespace internal { |
19 namespace interpreter { | 18 namespace interpreter { |
20 | 19 |
(...skipping 1181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1202 } | 1201 } |
1203 | 1202 |
1204 | 1203 |
1205 int BytecodeGenerator::feedback_index(FeedbackVectorSlot slot) const { | 1204 int BytecodeGenerator::feedback_index(FeedbackVectorSlot slot) const { |
1206 return info()->feedback_vector()->GetIndex(slot); | 1205 return info()->feedback_vector()->GetIndex(slot); |
1207 } | 1206 } |
1208 | 1207 |
1209 } // namespace interpreter | 1208 } // namespace interpreter |
1210 } // namespace internal | 1209 } // namespace internal |
1211 } // namespace v8 | 1210 } // namespace v8 |
OLD | NEW |