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

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

Issue 990963003: [turbofan] Unify Math.floor / Math.ceil optimization. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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/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 <algorithm> 7 #include <algorithm>
8 #include <deque> 8 #include <deque>
9 #include <queue> 9 #include <queue>
10 #include <sstream> 10 #include <sstream>
(...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 case IrOpcode::kInt64LessThanOrEqual: 786 case IrOpcode::kInt64LessThanOrEqual:
787 case IrOpcode::kUint64Div: 787 case IrOpcode::kUint64Div:
788 case IrOpcode::kUint64Mod: 788 case IrOpcode::kUint64Mod:
789 case IrOpcode::kUint64LessThan: 789 case IrOpcode::kUint64LessThan:
790 case IrOpcode::kFloat64Add: 790 case IrOpcode::kFloat64Add:
791 case IrOpcode::kFloat64Sub: 791 case IrOpcode::kFloat64Sub:
792 case IrOpcode::kFloat64Mul: 792 case IrOpcode::kFloat64Mul:
793 case IrOpcode::kFloat64Div: 793 case IrOpcode::kFloat64Div:
794 case IrOpcode::kFloat64Mod: 794 case IrOpcode::kFloat64Mod:
795 case IrOpcode::kFloat64Sqrt: 795 case IrOpcode::kFloat64Sqrt:
796 case IrOpcode::kFloat64Floor: 796 case IrOpcode::kFloat64RoundDown:
797 case IrOpcode::kFloat64Ceil:
798 case IrOpcode::kFloat64RoundTruncate: 797 case IrOpcode::kFloat64RoundTruncate:
799 case IrOpcode::kFloat64RoundTiesAway: 798 case IrOpcode::kFloat64RoundTiesAway:
800 case IrOpcode::kFloat64Equal: 799 case IrOpcode::kFloat64Equal:
801 case IrOpcode::kFloat64LessThan: 800 case IrOpcode::kFloat64LessThan:
802 case IrOpcode::kFloat64LessThanOrEqual: 801 case IrOpcode::kFloat64LessThanOrEqual:
803 case IrOpcode::kTruncateInt64ToInt32: 802 case IrOpcode::kTruncateInt64ToInt32:
804 case IrOpcode::kTruncateFloat64ToFloat32: 803 case IrOpcode::kTruncateFloat64ToFloat32:
805 case IrOpcode::kTruncateFloat64ToInt32: 804 case IrOpcode::kTruncateFloat64ToInt32:
806 case IrOpcode::kChangeInt32ToInt64: 805 case IrOpcode::kChangeInt32ToInt64:
807 case IrOpcode::kChangeUint32ToUint64: 806 case IrOpcode::kChangeUint32ToUint64:
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
1062 // Check inputs for all nodes in the block. 1061 // Check inputs for all nodes in the block.
1063 for (size_t i = 0; i < block->NodeCount(); i++) { 1062 for (size_t i = 0; i < block->NodeCount(); i++) {
1064 Node* node = block->NodeAt(i); 1063 Node* node = block->NodeAt(i);
1065 CheckInputsDominate(schedule, block, node, static_cast<int>(i) - 1); 1064 CheckInputsDominate(schedule, block, node, static_cast<int>(i) - 1);
1066 } 1065 }
1067 } 1066 }
1068 } 1067 }
1069 } 1068 }
1070 } 1069 }
1071 } // namespace v8::internal::compiler 1070 } // 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