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/compilation-info.h" |
9 #include "src/compiler.h" | 10 #include "src/compiler.h" |
10 #include "src/interpreter/bytecode-flags.h" | 11 #include "src/interpreter/bytecode-flags.h" |
11 #include "src/interpreter/bytecode-label.h" | 12 #include "src/interpreter/bytecode-label.h" |
12 #include "src/interpreter/bytecode-register-allocator.h" | 13 #include "src/interpreter/bytecode-register-allocator.h" |
13 #include "src/interpreter/control-flow-builders.h" | 14 #include "src/interpreter/control-flow-builders.h" |
14 #include "src/objects.h" | 15 #include "src/objects.h" |
15 #include "src/parsing/parser.h" | 16 #include "src/parsing/parser.h" |
16 #include "src/parsing/token.h" | 17 #include "src/parsing/token.h" |
17 | 18 |
18 namespace v8 { | 19 namespace v8 { |
(...skipping 3381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3400 return execution_context()->scope()->language_mode(); | 3401 return execution_context()->scope()->language_mode(); |
3401 } | 3402 } |
3402 | 3403 |
3403 int BytecodeGenerator::feedback_index(FeedbackVectorSlot slot) const { | 3404 int BytecodeGenerator::feedback_index(FeedbackVectorSlot slot) const { |
3404 return TypeFeedbackVector::GetIndex(slot); | 3405 return TypeFeedbackVector::GetIndex(slot); |
3405 } | 3406 } |
3406 | 3407 |
3407 } // namespace interpreter | 3408 } // namespace interpreter |
3408 } // namespace internal | 3409 } // namespace internal |
3409 } // namespace v8 | 3410 } // namespace v8 |
OLD | NEW |