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

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

Issue 1448343002: [turbofan] Finish support for holey double elements backing stores. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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') | 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 655 matching lines...) Expand 10 before | Expand all | Expand 10 after
666 case IrOpcode::kNumberToInt32: 666 case IrOpcode::kNumberToInt32:
667 // Number -> Signed32 667 // Number -> Signed32
668 CheckValueInputIs(node, 0, Type::Number()); 668 CheckValueInputIs(node, 0, Type::Number());
669 CheckUpperIs(node, Type::Signed32()); 669 CheckUpperIs(node, Type::Signed32());
670 break; 670 break;
671 case IrOpcode::kNumberToUint32: 671 case IrOpcode::kNumberToUint32:
672 // Number -> Unsigned32 672 // Number -> Unsigned32
673 CheckValueInputIs(node, 0, Type::Number()); 673 CheckValueInputIs(node, 0, Type::Number());
674 CheckUpperIs(node, Type::Unsigned32()); 674 CheckUpperIs(node, Type::Unsigned32());
675 break; 675 break;
676 case IrOpcode::kNumberIsHoleNaN:
677 // Number -> Boolean
678 CheckValueInputIs(node, 0, Type::Number());
679 CheckUpperIs(node, Type::Boolean());
680 break;
676 case IrOpcode::kPlainPrimitiveToNumber: 681 case IrOpcode::kPlainPrimitiveToNumber:
677 // PlainPrimitive -> Number 682 // PlainPrimitive -> Number
678 CheckValueInputIs(node, 0, Type::PlainPrimitive()); 683 CheckValueInputIs(node, 0, Type::PlainPrimitive());
679 CheckUpperIs(node, Type::Number()); 684 CheckUpperIs(node, Type::Number());
680 break; 685 break;
681 case IrOpcode::kStringEqual: 686 case IrOpcode::kStringEqual:
682 case IrOpcode::kStringLessThan: 687 case IrOpcode::kStringLessThan:
683 case IrOpcode::kStringLessThanOrEqual: 688 case IrOpcode::kStringLessThanOrEqual:
684 // (String, String) -> Boolean 689 // (String, String) -> Boolean
685 CheckValueInputIs(node, 0, Type::String()); 690 CheckValueInputIs(node, 0, Type::String());
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
1234 replacement->op()->EffectOutputCount() > 0); 1239 replacement->op()->EffectOutputCount() > 0);
1235 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1240 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1236 replacement->opcode() == IrOpcode::kFrameState); 1241 replacement->opcode() == IrOpcode::kFrameState);
1237 } 1242 }
1238 1243
1239 #endif // DEBUG 1244 #endif // DEBUG
1240 1245
1241 } // namespace compiler 1246 } // namespace compiler
1242 } // namespace internal 1247 } // namespace internal
1243 } // namespace v8 1248 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698