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

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

Issue 1743433002: Revert of [compiler] Drop the CompareNilIC. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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/typer.cc ('k') | src/crankshaft/hydrogen.h » ('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 696 matching lines...) Expand 10 before | Expand all | Expand 10 after
707 break; 707 break;
708 case IrOpcode::kReferenceEqual: { 708 case IrOpcode::kReferenceEqual: {
709 // (Unique, Any) -> Boolean and 709 // (Unique, Any) -> Boolean and
710 // (Any, Unique) -> Boolean 710 // (Any, Unique) -> Boolean
711 CheckUpperIs(node, Type::Boolean()); 711 CheckUpperIs(node, Type::Boolean());
712 break; 712 break;
713 } 713 }
714 case IrOpcode::kObjectIsNumber: 714 case IrOpcode::kObjectIsNumber:
715 case IrOpcode::kObjectIsReceiver: 715 case IrOpcode::kObjectIsReceiver:
716 case IrOpcode::kObjectIsSmi: 716 case IrOpcode::kObjectIsSmi:
717 case IrOpcode::kObjectIsUndetectable:
718 CheckValueInputIs(node, 0, Type::Any()); 717 CheckValueInputIs(node, 0, Type::Any());
719 CheckUpperIs(node, Type::Boolean()); 718 CheckUpperIs(node, Type::Boolean());
720 break; 719 break;
721 case IrOpcode::kAllocate: 720 case IrOpcode::kAllocate:
722 CheckValueInputIs(node, 0, Type::PlainNumber()); 721 CheckValueInputIs(node, 0, Type::PlainNumber());
723 CheckUpperIs(node, Type::TaggedPointer()); 722 CheckUpperIs(node, Type::TaggedPointer());
724 break; 723 break;
725 724
726 case IrOpcode::kChangeTaggedToInt32: { 725 case IrOpcode::kChangeTaggedToInt32: {
727 // Signed32 /\ Tagged -> Signed32 /\ UntaggedInt32 726 // Signed32 /\ Tagged -> Signed32 /\ UntaggedInt32
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
1274 replacement->op()->EffectOutputCount() > 0); 1273 replacement->op()->EffectOutputCount() > 0);
1275 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1274 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1276 replacement->opcode() == IrOpcode::kFrameState); 1275 replacement->opcode() == IrOpcode::kFrameState);
1277 } 1276 }
1278 1277
1279 #endif // DEBUG 1278 #endif // DEBUG
1280 1279
1281 } // namespace compiler 1280 } // namespace compiler
1282 } // namespace internal 1281 } // namespace internal
1283 } // namespace v8 1282 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | src/crankshaft/hydrogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698