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

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

Issue 2138633002: [turbofan] Introduce CheckedInt32Div and CheckedInt32Mod operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Comments 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') | test/cctest/compiler/test-js-typed-lowering.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 953 matching lines...) Expand 10 before | Expand all | Expand 10 after
964 CheckValueInputIs(node, 0, Type::Any()); 964 CheckValueInputIs(node, 0, Type::Any());
965 CheckUpperIs(node, Type::TaggedSigned()); 965 CheckUpperIs(node, Type::TaggedSigned());
966 break; 966 break;
967 case IrOpcode::kCheckTaggedPointer: 967 case IrOpcode::kCheckTaggedPointer:
968 CheckValueInputIs(node, 0, Type::Any()); 968 CheckValueInputIs(node, 0, Type::Any());
969 CheckUpperIs(node, Type::TaggedPointer()); 969 CheckUpperIs(node, Type::TaggedPointer());
970 break; 970 break;
971 971
972 case IrOpcode::kCheckedInt32Add: 972 case IrOpcode::kCheckedInt32Add:
973 case IrOpcode::kCheckedInt32Sub: 973 case IrOpcode::kCheckedInt32Sub:
974 case IrOpcode::kCheckedInt32Div:
975 case IrOpcode::kCheckedInt32Mod:
974 case IrOpcode::kCheckedUint32ToInt32: 976 case IrOpcode::kCheckedUint32ToInt32:
975 case IrOpcode::kCheckedFloat64ToInt32: 977 case IrOpcode::kCheckedFloat64ToInt32:
976 case IrOpcode::kCheckedTaggedToInt32: 978 case IrOpcode::kCheckedTaggedToInt32:
977 case IrOpcode::kCheckedTaggedToFloat64: 979 case IrOpcode::kCheckedTaggedToFloat64:
978 break; 980 break;
979 981
980 case IrOpcode::kCheckFloat64Hole: 982 case IrOpcode::kCheckFloat64Hole:
981 CheckValueInputIs(node, 0, Type::Number()); 983 CheckValueInputIs(node, 0, Type::Number());
982 CheckUpperIs(node, Type::Number()); 984 CheckUpperIs(node, Type::Number());
983 break; 985 break;
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
1509 replacement->op()->EffectOutputCount() > 0); 1511 replacement->op()->EffectOutputCount() > 0);
1510 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1512 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1511 replacement->opcode() == IrOpcode::kFrameState); 1513 replacement->opcode() == IrOpcode::kFrameState);
1512 } 1514 }
1513 1515
1514 #endif // DEBUG 1516 #endif // DEBUG
1515 1517
1516 } // namespace compiler 1518 } // namespace compiler
1517 } // namespace internal 1519 } // namespace internal
1518 } // namespace v8 1520 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/simplified-operator.cc ('k') | test/cctest/compiler/test-js-typed-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698