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

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

Issue 2366203003: [WIP] Try InstanceOf for Box2d.
Patch Set: Created 4 years, 2 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/js-typed-lowering.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 1011 matching lines...) Expand 10 before | Expand all | Expand 10 after
1022 break; 1022 break;
1023 case IrOpcode::kCheckSmi: 1023 case IrOpcode::kCheckSmi:
1024 CheckValueInputIs(node, 0, Type::Any()); 1024 CheckValueInputIs(node, 0, Type::Any());
1025 break; 1025 break;
1026 case IrOpcode::kCheckString: 1026 case IrOpcode::kCheckString:
1027 CheckValueInputIs(node, 0, Type::Any()); 1027 CheckValueInputIs(node, 0, Type::Any());
1028 CheckTypeIs(node, Type::String()); 1028 CheckTypeIs(node, Type::String());
1029 break; 1029 break;
1030 case IrOpcode::kCheckHasInPrototypeChain: 1030 case IrOpcode::kCheckHasInPrototypeChain:
1031 CheckValueInputIs(node, 0, Type::Any()); 1031 CheckValueInputIs(node, 0, Type::Any());
1032 CheckValueInputIs(node, 1, Type::NonInternal()); 1032 CheckValueInputIs(node, 1, Type::Any());
1033 CheckTypeIs(node, Type::Boolean()); 1033 CheckTypeIs(node, Type::Boolean());
1034 break; 1034 break;
1035 1035
1036 case IrOpcode::kCheckedInt32Add: 1036 case IrOpcode::kCheckedInt32Add:
1037 case IrOpcode::kCheckedInt32Sub: 1037 case IrOpcode::kCheckedInt32Sub:
1038 case IrOpcode::kCheckedInt32Div: 1038 case IrOpcode::kCheckedInt32Div:
1039 case IrOpcode::kCheckedInt32Mod: 1039 case IrOpcode::kCheckedInt32Mod:
1040 case IrOpcode::kCheckedUint32Div: 1040 case IrOpcode::kCheckedUint32Div:
1041 case IrOpcode::kCheckedUint32Mod: 1041 case IrOpcode::kCheckedUint32Mod:
1042 case IrOpcode::kCheckedInt32Mul: 1042 case IrOpcode::kCheckedInt32Mul:
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
1598 replacement->op()->EffectOutputCount() > 0); 1598 replacement->op()->EffectOutputCount() > 0);
1599 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1599 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1600 replacement->opcode() == IrOpcode::kFrameState); 1600 replacement->opcode() == IrOpcode::kFrameState);
1601 } 1601 }
1602 1602
1603 #endif // DEBUG 1603 #endif // DEBUG
1604 1604
1605 } // namespace compiler 1605 } // namespace compiler
1606 } // namespace internal 1606 } // namespace internal
1607 } // namespace v8 1607 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698