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

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

Issue 2141953002: [Turbofan]: Add integer multiplication with overflow to typed lowering. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@multiply
Patch Set: Code 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/mjsunit/math-mul.js » ('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 930 matching lines...) Expand 10 before | Expand all | Expand 10 after
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: 949 case IrOpcode::kCheckedUint32Div:
950 case IrOpcode::kCheckedUint32Mod: 950 case IrOpcode::kCheckedUint32Mod:
951 case IrOpcode::kCheckedInt32Mul:
951 case IrOpcode::kCheckedUint32ToInt32: 952 case IrOpcode::kCheckedUint32ToInt32:
952 case IrOpcode::kCheckedFloat64ToInt32: 953 case IrOpcode::kCheckedFloat64ToInt32:
953 case IrOpcode::kCheckedTaggedToInt32: 954 case IrOpcode::kCheckedTaggedToInt32:
954 case IrOpcode::kCheckedTaggedToFloat64: 955 case IrOpcode::kCheckedTaggedToFloat64:
955 break; 956 break;
956 957
957 case IrOpcode::kCheckFloat64Hole: 958 case IrOpcode::kCheckFloat64Hole:
958 CheckValueInputIs(node, 0, Type::Number()); 959 CheckValueInputIs(node, 0, Type::Number());
959 CheckUpperIs(node, Type::Number()); 960 CheckUpperIs(node, Type::Number());
960 break; 961 break;
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
1487 replacement->op()->EffectOutputCount() > 0); 1488 replacement->op()->EffectOutputCount() > 0);
1488 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1489 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1489 replacement->opcode() == IrOpcode::kFrameState); 1490 replacement->opcode() == IrOpcode::kFrameState);
1490 } 1491 }
1491 1492
1492 #endif // DEBUG 1493 #endif // DEBUG
1493 1494
1494 } // namespace compiler 1495 } // namespace compiler
1495 } // namespace internal 1496 } // namespace internal
1496 } // namespace v8 1497 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/simplified-operator.cc ('k') | test/mjsunit/math-mul.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698