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

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

Issue 1722193002: [compiler] Drop the CompareNilIC. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE Created 4 years, 9 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 701 matching lines...) Expand 10 before | Expand all | Expand 10 after
712 break; 712 break;
713 case IrOpcode::kReferenceEqual: { 713 case IrOpcode::kReferenceEqual: {
714 // (Unique, Any) -> Boolean and 714 // (Unique, Any) -> Boolean and
715 // (Any, Unique) -> Boolean 715 // (Any, Unique) -> Boolean
716 CheckUpperIs(node, Type::Boolean()); 716 CheckUpperIs(node, Type::Boolean());
717 break; 717 break;
718 } 718 }
719 case IrOpcode::kObjectIsNumber: 719 case IrOpcode::kObjectIsNumber:
720 case IrOpcode::kObjectIsReceiver: 720 case IrOpcode::kObjectIsReceiver:
721 case IrOpcode::kObjectIsSmi: 721 case IrOpcode::kObjectIsSmi:
722 case IrOpcode::kObjectIsUndetectable:
722 CheckValueInputIs(node, 0, Type::Any()); 723 CheckValueInputIs(node, 0, Type::Any());
723 CheckUpperIs(node, Type::Boolean()); 724 CheckUpperIs(node, Type::Boolean());
724 break; 725 break;
725 case IrOpcode::kAllocate: 726 case IrOpcode::kAllocate:
726 CheckValueInputIs(node, 0, Type::PlainNumber()); 727 CheckValueInputIs(node, 0, Type::PlainNumber());
727 CheckUpperIs(node, Type::TaggedPointer()); 728 CheckUpperIs(node, Type::TaggedPointer());
728 break; 729 break;
729 730
730 case IrOpcode::kChangeTaggedToInt32: { 731 case IrOpcode::kChangeTaggedToInt32: {
731 // Signed32 /\ Tagged -> Signed32 /\ UntaggedInt32 732 // Signed32 /\ Tagged -> Signed32 /\ UntaggedInt32
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
1278 replacement->op()->EffectOutputCount() > 0); 1279 replacement->op()->EffectOutputCount() > 0);
1279 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1280 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1280 replacement->opcode() == IrOpcode::kFrameState); 1281 replacement->opcode() == IrOpcode::kFrameState);
1281 } 1282 }
1282 1283
1283 #endif // DEBUG 1284 #endif // DEBUG
1284 1285
1285 } // namespace compiler 1286 } // namespace compiler
1286 } // namespace internal 1287 } // namespace internal
1287 } // namespace v8 1288 } // 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