| 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/control-flow-builders.h" | 9 #include "src/interpreter/control-flow-builders.h" |
| 10 #include "src/objects.h" | 10 #include "src/objects.h" |
| (...skipping 2264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2275 return info()->language_mode(); | 2275 return info()->language_mode(); |
| 2276 } | 2276 } |
| 2277 | 2277 |
| 2278 | 2278 |
| 2279 Strength BytecodeGenerator::language_mode_strength() const { | 2279 Strength BytecodeGenerator::language_mode_strength() const { |
| 2280 return strength(language_mode()); | 2280 return strength(language_mode()); |
| 2281 } | 2281 } |
| 2282 | 2282 |
| 2283 | 2283 |
| 2284 int BytecodeGenerator::feedback_index(FeedbackVectorSlot slot) const { | 2284 int BytecodeGenerator::feedback_index(FeedbackVectorSlot slot) const { |
| 2285 return info()->feedback_vector()->GetIndex(slot); | 2285 return TypeFeedbackVector::GetIndex(slot); |
| 2286 } | 2286 } |
| 2287 | 2287 |
| 2288 } // namespace interpreter | 2288 } // namespace interpreter |
| 2289 } // namespace internal | 2289 } // namespace internal |
| 2290 } // namespace v8 | 2290 } // namespace v8 |
| OLD | NEW |