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-array-builder.h" | 5 #include "src/interpreter/bytecode-array-builder.h" |
6 | 6 |
7 #include "src/globals.h" | 7 #include "src/globals.h" |
8 #include "src/interpreter/bytecode-array-writer.h" | 8 #include "src/interpreter/bytecode-array-writer.h" |
9 #include "src/interpreter/bytecode-jump-table.h" | 9 #include "src/interpreter/bytecode-jump-table.h" |
10 #include "src/interpreter/bytecode-label.h" | 10 #include "src/interpreter/bytecode-label.h" |
(...skipping 1178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1189 OutputReturn(); | 1189 OutputReturn(); |
1190 return_seen_in_block_ = true; | 1190 return_seen_in_block_ = true; |
1191 return *this; | 1191 return *this; |
1192 } | 1192 } |
1193 | 1193 |
1194 BytecodeArrayBuilder& BytecodeArrayBuilder::Debugger() { | 1194 BytecodeArrayBuilder& BytecodeArrayBuilder::Debugger() { |
1195 OutputDebugger(); | 1195 OutputDebugger(); |
1196 return *this; | 1196 return *this; |
1197 } | 1197 } |
1198 | 1198 |
| 1199 BytecodeArrayBuilder& BytecodeArrayBuilder::IncBlockCounter( |
| 1200 int coverage_array_slot) { |
| 1201 OutputIncBlockCounter(coverage_array_slot); |
| 1202 return *this; |
| 1203 } |
| 1204 |
1199 BytecodeArrayBuilder& BytecodeArrayBuilder::ForInPrepare( | 1205 BytecodeArrayBuilder& BytecodeArrayBuilder::ForInPrepare( |
1200 Register receiver, RegisterList cache_info_triple) { | 1206 Register receiver, RegisterList cache_info_triple) { |
1201 DCHECK_EQ(3, cache_info_triple.register_count()); | 1207 DCHECK_EQ(3, cache_info_triple.register_count()); |
1202 OutputForInPrepare(receiver, cache_info_triple); | 1208 OutputForInPrepare(receiver, cache_info_triple); |
1203 return *this; | 1209 return *this; |
1204 } | 1210 } |
1205 | 1211 |
1206 BytecodeArrayBuilder& BytecodeArrayBuilder::ForInContinue( | 1212 BytecodeArrayBuilder& BytecodeArrayBuilder::ForInContinue( |
1207 Register index, Register cache_length) { | 1213 Register index, Register cache_length) { |
1208 OutputForInContinue(index, cache_length); | 1214 OutputForInContinue(index, cache_length); |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1513 return os << "AlreadyBoolean"; | 1519 return os << "AlreadyBoolean"; |
1514 case BytecodeArrayBuilder::ToBooleanMode::kConvertToBoolean: | 1520 case BytecodeArrayBuilder::ToBooleanMode::kConvertToBoolean: |
1515 return os << "ConvertToBoolean"; | 1521 return os << "ConvertToBoolean"; |
1516 } | 1522 } |
1517 UNREACHABLE(); | 1523 UNREACHABLE(); |
1518 } | 1524 } |
1519 | 1525 |
1520 } // namespace interpreter | 1526 } // namespace interpreter |
1521 } // namespace internal | 1527 } // namespace internal |
1522 } // namespace v8 | 1528 } // namespace v8 |
OLD | NEW |