Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Side by Side Diff: src/interpreter/bytecode-generator.cc

Issue 1315823002: Parse arrow functions at proper precedence level (Closed) Base URL: https://chromium.googlesource.com/v8/v8@master
Patch Set: Fix nits Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/hydrogen.cc ('k') | src/messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698