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

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

Issue 2149493002: [turbofan] Introduce CheckedUint32Div and CheckUint32Mod operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address comment Created 4 years, 5 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/simplified-operator.cc ('k') | no next file » | 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 928 matching lines...) Expand 10 before | Expand all | Expand 10 after
939 break; 939 break;
940 case IrOpcode::kCheckTaggedPointer: 940 case IrOpcode::kCheckTaggedPointer:
941 CheckValueInputIs(node, 0, Type::Any()); 941 CheckValueInputIs(node, 0, Type::Any());
942 CheckUpperIs(node, Type::TaggedPointer()); 942 CheckUpperIs(node, Type::TaggedPointer());
943 break; 943 break;
944 944
945 case IrOpcode::kCheckedInt32Add: 945 case IrOpcode::kCheckedInt32Add:
946 case IrOpcode::kCheckedInt32Sub: 946 case IrOpcode::kCheckedInt32Sub:
947 case IrOpcode::kCheckedInt32Div: 947 case IrOpcode::kCheckedInt32Div:
948 case IrOpcode::kCheckedInt32Mod: 948 case IrOpcode::kCheckedInt32Mod:
949 case IrOpcode::kCheckedUint32Div:
950 case IrOpcode::kCheckedUint32Mod:
949 case IrOpcode::kCheckedUint32ToInt32: 951 case IrOpcode::kCheckedUint32ToInt32:
950 case IrOpcode::kCheckedFloat64ToInt32: 952 case IrOpcode::kCheckedFloat64ToInt32:
951 case IrOpcode::kCheckedTaggedToInt32: 953 case IrOpcode::kCheckedTaggedToInt32:
952 case IrOpcode::kCheckedTaggedToFloat64: 954 case IrOpcode::kCheckedTaggedToFloat64:
953 break; 955 break;
954 956
955 case IrOpcode::kCheckFloat64Hole: 957 case IrOpcode::kCheckFloat64Hole:
956 CheckValueInputIs(node, 0, Type::Number()); 958 CheckValueInputIs(node, 0, Type::Number());
957 CheckUpperIs(node, Type::Number()); 959 CheckUpperIs(node, Type::Number());
958 break; 960 break;
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
1484 replacement->op()->EffectOutputCount() > 0); 1486 replacement->op()->EffectOutputCount() > 0);
1485 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1487 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1486 replacement->opcode() == IrOpcode::kFrameState); 1488 replacement->opcode() == IrOpcode::kFrameState);
1487 } 1489 }
1488 1490
1489 #endif // DEBUG 1491 #endif // DEBUG
1490 1492
1491 } // namespace compiler 1493 } // namespace compiler
1492 } // namespace internal 1494 } // namespace internal
1493 } // namespace v8 1495 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/simplified-operator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698