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(); | |
rossberg
2015/08/25 12:55:56
Nit: This should probably be UNREACHABLE (same for
| |
340 } | |
341 | |
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 } |
346 | 351 |
347 | 352 |
(...skipping 13 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 |