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 "src/ast/scopes.h" | 7 #include "src/ast/scopes.h" |
8 #include "src/code-stubs.h" | 8 #include "src/code-stubs.h" |
9 #include "src/compiler.h" | 9 #include "src/compiler.h" |
| 10 #include "src/interpreter/bytecode-flags.h" |
10 #include "src/interpreter/bytecode-register-allocator.h" | 11 #include "src/interpreter/bytecode-register-allocator.h" |
11 #include "src/interpreter/control-flow-builders.h" | 12 #include "src/interpreter/control-flow-builders.h" |
12 #include "src/objects.h" | 13 #include "src/objects.h" |
13 #include "src/parsing/parser.h" | 14 #include "src/parsing/parser.h" |
14 #include "src/parsing/token.h" | 15 #include "src/parsing/token.h" |
15 | 16 |
16 namespace v8 { | 17 namespace v8 { |
17 namespace internal { | 18 namespace internal { |
18 namespace interpreter { | 19 namespace interpreter { |
19 | 20 |
(...skipping 3161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3181 return execution_context()->scope()->language_mode(); | 3182 return execution_context()->scope()->language_mode(); |
3182 } | 3183 } |
3183 | 3184 |
3184 int BytecodeGenerator::feedback_index(FeedbackVectorSlot slot) const { | 3185 int BytecodeGenerator::feedback_index(FeedbackVectorSlot slot) const { |
3185 return TypeFeedbackVector::GetIndex(slot); | 3186 return TypeFeedbackVector::GetIndex(slot); |
3186 } | 3187 } |
3187 | 3188 |
3188 } // namespace interpreter | 3189 } // namespace interpreter |
3189 } // namespace internal | 3190 } // namespace internal |
3190 } // namespace v8 | 3191 } // namespace v8 |
OLD | NEW |