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

Side by Side Diff: src/compiler/verifier.cc

Issue 697663003: [turbofan] Also optimize unsigned division by constant. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Slight improvement Created 6 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « src/compiler/typer.cc ('k') | src/compiler/x64/code-generator-x64.cc » ('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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/verifier.h" 5 #include "src/compiler/verifier.h"
6 6
7 #include <deque> 7 #include <deque>
8 #include <queue> 8 #include <queue>
9 #include <sstream> 9 #include <sstream>
10 #include <string> 10 #include <string>
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 case IrOpcode::kInt32Sub: 681 case IrOpcode::kInt32Sub:
682 case IrOpcode::kInt32SubWithOverflow: 682 case IrOpcode::kInt32SubWithOverflow:
683 case IrOpcode::kInt32Mul: 683 case IrOpcode::kInt32Mul:
684 case IrOpcode::kInt32MulHigh: 684 case IrOpcode::kInt32MulHigh:
685 case IrOpcode::kInt32Div: 685 case IrOpcode::kInt32Div:
686 case IrOpcode::kInt32Mod: 686 case IrOpcode::kInt32Mod:
687 case IrOpcode::kInt32LessThan: 687 case IrOpcode::kInt32LessThan:
688 case IrOpcode::kInt32LessThanOrEqual: 688 case IrOpcode::kInt32LessThanOrEqual:
689 case IrOpcode::kUint32Div: 689 case IrOpcode::kUint32Div:
690 case IrOpcode::kUint32Mod: 690 case IrOpcode::kUint32Mod:
691 case IrOpcode::kUint32MulHigh:
691 case IrOpcode::kUint32LessThan: 692 case IrOpcode::kUint32LessThan:
692 case IrOpcode::kUint32LessThanOrEqual: 693 case IrOpcode::kUint32LessThanOrEqual:
693 case IrOpcode::kInt64Add: 694 case IrOpcode::kInt64Add:
694 case IrOpcode::kInt64Sub: 695 case IrOpcode::kInt64Sub:
695 case IrOpcode::kInt64Mul: 696 case IrOpcode::kInt64Mul:
696 case IrOpcode::kInt64Div: 697 case IrOpcode::kInt64Div:
697 case IrOpcode::kInt64Mod: 698 case IrOpcode::kInt64Mod:
698 case IrOpcode::kInt64LessThan: 699 case IrOpcode::kInt64LessThan:
699 case IrOpcode::kInt64LessThanOrEqual: 700 case IrOpcode::kInt64LessThanOrEqual:
700 case IrOpcode::kUint64Div: 701 case IrOpcode::kUint64Div:
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
972 // Check inputs for all nodes in the block. 973 // Check inputs for all nodes in the block.
973 for (size_t i = 0; i < block->NodeCount(); i++) { 974 for (size_t i = 0; i < block->NodeCount(); i++) {
974 Node* node = block->NodeAt(i); 975 Node* node = block->NodeAt(i);
975 CheckInputsDominate(schedule, block, node, static_cast<int>(i) - 1); 976 CheckInputsDominate(schedule, block, node, static_cast<int>(i) - 1);
976 } 977 }
977 } 978 }
978 } 979 }
979 } 980 }
980 } 981 }
981 } // namespace v8::internal::compiler 982 } // namespace v8::internal::compiler
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | src/compiler/x64/code-generator-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698