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 <stack> | 7 #include <stack> |
8 | 8 |
9 #include "src/compiler.h" | 9 #include "src/compiler.h" |
10 #include "src/objects.h" | 10 #include "src/objects.h" |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 break; | 325 break; |
326 } | 326 } |
327 } | 327 } |
328 | 328 |
329 | 329 |
330 void BytecodeGenerator::VisitCompareOperation(CompareOperation* node) { | 330 void BytecodeGenerator::VisitCompareOperation(CompareOperation* node) { |
331 UNIMPLEMENTED(); | 331 UNIMPLEMENTED(); |
332 } | 332 } |
333 | 333 |
334 | 334 |
335 void BytecodeGenerator::VisitSpread(Spread* node) { UNIMPLEMENTED(); } | 335 void BytecodeGenerator::VisitSpread(Spread* node) { UNREACHABLE(); } |
| 336 |
| 337 |
| 338 void BytecodeGenerator::VisitEmptyParentheses(EmptyParentheses* node) { |
| 339 UNREACHABLE(); |
| 340 } |
336 | 341 |
337 | 342 |
338 void BytecodeGenerator::VisitThisFunction(ThisFunction* node) { | 343 void BytecodeGenerator::VisitThisFunction(ThisFunction* node) { |
339 UNIMPLEMENTED(); | 344 UNIMPLEMENTED(); |
340 } | 345 } |
341 | 346 |
342 | 347 |
343 void BytecodeGenerator::VisitSuperCallReference(SuperCallReference* node) { | 348 void BytecodeGenerator::VisitSuperCallReference(SuperCallReference* node) { |
344 UNIMPLEMENTED(); | 349 UNIMPLEMENTED(); |
345 } | 350 } |
(...skipping 15 matching lines...) Expand all Loading... |
361 | 366 |
362 Visit(left); | 367 Visit(left); |
363 builder().StoreAccumulatorInRegister(temporary); | 368 builder().StoreAccumulatorInRegister(temporary); |
364 Visit(right); | 369 Visit(right); |
365 builder().BinaryOperation(op, temporary); | 370 builder().BinaryOperation(op, temporary); |
366 } | 371 } |
367 | 372 |
368 } // namespace interpreter | 373 } // namespace interpreter |
369 } // namespace internal | 374 } // namespace internal |
370 } // namespace v8 | 375 } // namespace v8 |
OLD | NEW |