| 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/compiler.h" | 8 #include "src/compiler.h" |
| 9 #include "src/interpreter/bytecode-register-allocator.h" | 9 #include "src/interpreter/bytecode-register-allocator.h" |
| 10 #include "src/interpreter/control-flow-builders.h" | 10 #include "src/interpreter/control-flow-builders.h" |
| (...skipping 2489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2500 return info()->language_mode(); | 2500 return info()->language_mode(); |
| 2501 } | 2501 } |
| 2502 | 2502 |
| 2503 | 2503 |
| 2504 Strength BytecodeGenerator::language_mode_strength() const { | 2504 Strength BytecodeGenerator::language_mode_strength() const { |
| 2505 return strength(language_mode()); | 2505 return strength(language_mode()); |
| 2506 } | 2506 } |
| 2507 | 2507 |
| 2508 | 2508 |
| 2509 int BytecodeGenerator::feedback_index(FeedbackVectorSlot slot) const { | 2509 int BytecodeGenerator::feedback_index(FeedbackVectorSlot slot) const { |
| 2510 return TypeFeedbackVector::GetIndex(slot); | 2510 return info()->feedback_vector()->GetIndex(slot); |
| 2511 } | 2511 } |
| 2512 | 2512 |
| 2513 } // namespace interpreter | 2513 } // namespace interpreter |
| 2514 } // namespace internal | 2514 } // namespace internal |
| 2515 } // namespace v8 | 2515 } // namespace v8 |
| OLD | NEW |