| 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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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) { UNIMPLEMENTED(); } |
| 336 | 336 |
| 337 | 337 |
| 338 void BytecodeGenerator::VisitEmptyParentheses(EmptyParentheses* node) { | |
| 339 UNIMPLEMENTED(); | |
| 340 } | |
| 341 | |
| 342 | |
| 343 void BytecodeGenerator::VisitThisFunction(ThisFunction* node) { | 338 void BytecodeGenerator::VisitThisFunction(ThisFunction* node) { |
| 344 UNIMPLEMENTED(); | 339 UNIMPLEMENTED(); |
| 345 } | 340 } |
| 346 | 341 |
| 347 | 342 |
| 348 void BytecodeGenerator::VisitSuperCallReference(SuperCallReference* node) { | 343 void BytecodeGenerator::VisitSuperCallReference(SuperCallReference* node) { |
| 349 UNIMPLEMENTED(); | 344 UNIMPLEMENTED(); |
| 350 } | 345 } |
| 351 | 346 |
| 352 | 347 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 366 | 361 |
| 367 Visit(left); | 362 Visit(left); |
| 368 builder().StoreAccumulatorInRegister(temporary); | 363 builder().StoreAccumulatorInRegister(temporary); |
| 369 Visit(right); | 364 Visit(right); |
| 370 builder().BinaryOperation(op, temporary); | 365 builder().BinaryOperation(op, temporary); |
| 371 } | 366 } |
| 372 | 367 |
| 373 } // namespace interpreter | 368 } // namespace interpreter |
| 374 } // namespace internal | 369 } // namespace internal |
| 375 } // namespace v8 | 370 } // namespace v8 |
| OLD | NEW |