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

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

Issue 2191503002: [turbofan] Add the CheckedTruncateTaggedToWord32 opcode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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-representation-change.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 980 matching lines...) Expand 10 before | Expand all | Expand 10 after
991 case IrOpcode::kCheckedInt32Sub: 991 case IrOpcode::kCheckedInt32Sub:
992 case IrOpcode::kCheckedInt32Div: 992 case IrOpcode::kCheckedInt32Div:
993 case IrOpcode::kCheckedInt32Mod: 993 case IrOpcode::kCheckedInt32Mod:
994 case IrOpcode::kCheckedUint32Div: 994 case IrOpcode::kCheckedUint32Div:
995 case IrOpcode::kCheckedUint32Mod: 995 case IrOpcode::kCheckedUint32Mod:
996 case IrOpcode::kCheckedInt32Mul: 996 case IrOpcode::kCheckedInt32Mul:
997 case IrOpcode::kCheckedUint32ToInt32: 997 case IrOpcode::kCheckedUint32ToInt32:
998 case IrOpcode::kCheckedFloat64ToInt32: 998 case IrOpcode::kCheckedFloat64ToInt32:
999 case IrOpcode::kCheckedTaggedToInt32: 999 case IrOpcode::kCheckedTaggedToInt32:
1000 case IrOpcode::kCheckedTaggedToFloat64: 1000 case IrOpcode::kCheckedTaggedToFloat64:
1001 case IrOpcode::kCheckedTruncateTaggedToWord32:
1001 break; 1002 break;
1002 1003
1003 case IrOpcode::kCheckFloat64Hole: 1004 case IrOpcode::kCheckFloat64Hole:
1004 CheckValueInputIs(node, 0, Type::Number()); 1005 CheckValueInputIs(node, 0, Type::Number());
1005 CheckUpperIs(node, Type::Number()); 1006 CheckUpperIs(node, Type::Number());
1006 break; 1007 break;
1007 case IrOpcode::kCheckTaggedHole: 1008 case IrOpcode::kCheckTaggedHole:
1008 CheckValueInputIs(node, 0, Type::Any()); 1009 CheckValueInputIs(node, 0, Type::Any());
1009 CheckUpperIs(node, Type::Any()); 1010 CheckUpperIs(node, Type::Any());
1010 break; 1011 break;
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
1533 replacement->op()->EffectOutputCount() > 0); 1534 replacement->op()->EffectOutputCount() > 0);
1534 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1535 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1535 replacement->opcode() == IrOpcode::kFrameState); 1536 replacement->opcode() == IrOpcode::kFrameState);
1536 } 1537 }
1537 1538
1538 #endif // DEBUG 1539 #endif // DEBUG
1539 1540
1540 } // namespace compiler 1541 } // namespace compiler
1541 } // namespace internal 1542 } // namespace internal
1542 } // namespace v8 1543 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/simplified-operator.cc ('k') | test/cctest/compiler/test-representation-change.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698