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

Side by Side Diff: src/compiler/bytecode-graph-builder.cc

Issue 1416623003: [Interpreter] Add support for for count operations. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix gcc error Created 5 years, 2 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 | « no previous file | src/interpreter/bytecode-array-builder.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/compiler/bytecode-graph-builder.h" 5 #include "src/compiler/bytecode-graph-builder.h"
6 6
7 #include "src/compiler/linkage.h" 7 #include "src/compiler/linkage.h"
8 #include "src/compiler/operator-properties.h" 8 #include "src/compiler/operator-properties.h"
9 #include "src/interpreter/bytecode-array-iterator.h" 9 #include "src/interpreter/bytecode-array-iterator.h"
10 10
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 BuildBinaryOp(javascript()->ShiftRight(language_mode()), iterator); 469 BuildBinaryOp(javascript()->ShiftRight(language_mode()), iterator);
470 } 470 }
471 471
472 472
473 void BytecodeGraphBuilder::VisitShiftRightLogical( 473 void BytecodeGraphBuilder::VisitShiftRightLogical(
474 const interpreter::BytecodeArrayIterator& iterator) { 474 const interpreter::BytecodeArrayIterator& iterator) {
475 BuildBinaryOp(javascript()->ShiftRightLogical(language_mode()), iterator); 475 BuildBinaryOp(javascript()->ShiftRightLogical(language_mode()), iterator);
476 } 476 }
477 477
478 478
479 void BytecodeGraphBuilder::VisitInc(
480 const interpreter::BytecodeArrayIterator& iterator) {
481 UNIMPLEMENTED();
482 }
483
484
485 void BytecodeGraphBuilder::VisitDec(
486 const interpreter::BytecodeArrayIterator& iterator) {
487 UNIMPLEMENTED();
488 }
489
490
479 void BytecodeGraphBuilder::VisitLogicalNot( 491 void BytecodeGraphBuilder::VisitLogicalNot(
480 const interpreter::BytecodeArrayIterator& iterator) { 492 const interpreter::BytecodeArrayIterator& iterator) {
481 UNIMPLEMENTED(); 493 UNIMPLEMENTED();
482 } 494 }
483 495
484 496
485 void BytecodeGraphBuilder::VisitTypeOf( 497 void BytecodeGraphBuilder::VisitTypeOf(
486 const interpreter::BytecodeArrayIterator& iterator) { 498 const interpreter::BytecodeArrayIterator& iterator) {
487 UNIMPLEMENTED(); 499 UNIMPLEMENTED();
488 } 500 }
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 UNIMPLEMENTED(); 565 UNIMPLEMENTED();
554 } 566 }
555 567
556 568
557 void BytecodeGraphBuilder::VisitToName( 569 void BytecodeGraphBuilder::VisitToName(
558 const interpreter::BytecodeArrayIterator& iterator) { 570 const interpreter::BytecodeArrayIterator& iterator) {
559 UNIMPLEMENTED(); 571 UNIMPLEMENTED();
560 } 572 }
561 573
562 574
575 void BytecodeGraphBuilder::VisitToNumber(
576 const interpreter::BytecodeArrayIterator& iterator) {
577 UNIMPLEMENTED();
578 }
579
580
563 void BytecodeGraphBuilder::VisitJump( 581 void BytecodeGraphBuilder::VisitJump(
564 const interpreter::BytecodeArrayIterator& iterator) { 582 const interpreter::BytecodeArrayIterator& iterator) {
565 UNIMPLEMENTED(); 583 UNIMPLEMENTED();
566 } 584 }
567 585
568 586
569 void BytecodeGraphBuilder::VisitJumpConstant( 587 void BytecodeGraphBuilder::VisitJumpConstant(
570 const interpreter::BytecodeArrayIterator& iterator) { 588 const interpreter::BytecodeArrayIterator& iterator) {
571 UNIMPLEMENTED(); 589 UNIMPLEMENTED();
572 } 590 }
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
724 742
725 void BytecodeGraphBuilder::UpdateControlDependencyToLeaveFunction(Node* exit) { 743 void BytecodeGraphBuilder::UpdateControlDependencyToLeaveFunction(Node* exit) {
726 if (environment()->IsMarkedAsUnreachable()) return; 744 if (environment()->IsMarkedAsUnreachable()) return;
727 environment()->MarkAsUnreachable(); 745 environment()->MarkAsUnreachable();
728 exit_controls_.push_back(exit); 746 exit_controls_.push_back(exit);
729 } 747 }
730 748
731 } // namespace compiler 749 } // namespace compiler
732 } // namespace internal 750 } // namespace internal
733 } // namespace v8 751 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/interpreter/bytecode-array-builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698