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

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

Issue 2639883002: [turbofan] Add Receiver feedback for abstract/strict equality. (Closed)
Patch Set: Created 3 years, 11 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/globals.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 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after
1094 CheckValueInputIs(node, 0, Type::Any()); 1094 CheckValueInputIs(node, 0, Type::Any());
1095 for (int i = 1; i < node->op()->ValueInputCount(); ++i) { 1095 for (int i = 1; i < node->op()->ValueInputCount(); ++i) {
1096 CheckValueInputIs(node, i, Type::Internal()); 1096 CheckValueInputIs(node, i, Type::Internal());
1097 } 1097 }
1098 CheckNotTyped(node); 1098 CheckNotTyped(node);
1099 break; 1099 break;
1100 case IrOpcode::kCheckNumber: 1100 case IrOpcode::kCheckNumber:
1101 CheckValueInputIs(node, 0, Type::Any()); 1101 CheckValueInputIs(node, 0, Type::Any());
1102 CheckTypeIs(node, Type::Number()); 1102 CheckTypeIs(node, Type::Number());
1103 break; 1103 break;
1104 case IrOpcode::kCheckReceiver:
1105 CheckValueInputIs(node, 0, Type::Any());
1106 CheckTypeIs(node, Type::Receiver());
1107 break;
1104 case IrOpcode::kCheckSmi: 1108 case IrOpcode::kCheckSmi:
1105 CheckValueInputIs(node, 0, Type::Any()); 1109 CheckValueInputIs(node, 0, Type::Any());
1106 break; 1110 break;
1107 case IrOpcode::kCheckString: 1111 case IrOpcode::kCheckString:
1108 CheckValueInputIs(node, 0, Type::Any()); 1112 CheckValueInputIs(node, 0, Type::Any());
1109 CheckTypeIs(node, Type::String()); 1113 CheckTypeIs(node, Type::String());
1110 break; 1114 break;
1111 1115
1112 case IrOpcode::kCheckedInt32Add: 1116 case IrOpcode::kCheckedInt32Add:
1113 case IrOpcode::kCheckedInt32Sub: 1117 case IrOpcode::kCheckedInt32Sub:
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after
1678 replacement->op()->EffectOutputCount() > 0); 1682 replacement->op()->EffectOutputCount() > 0);
1679 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1683 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1680 replacement->opcode() == IrOpcode::kFrameState); 1684 replacement->opcode() == IrOpcode::kFrameState);
1681 } 1685 }
1682 1686
1683 #endif // DEBUG 1687 #endif // DEBUG
1684 1688
1685 } // namespace compiler 1689 } // namespace compiler
1686 } // namespace internal 1690 } // namespace internal
1687 } // namespace v8 1691 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | src/globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698