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

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

Issue 2488623002: [turbofan] Introduce TypedObjectState common operator. (Closed)
Patch Set: Make MSVC happy. Created 4 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
« src/compiler/common-operator.cc ('K') | « 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 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 CHECK_EQ(6, input_count); 481 CHECK_EQ(6, input_count);
482 for (int i = 0; i < 3; ++i) { 482 for (int i = 0; i < 3; ++i) {
483 CHECK(NodeProperties::GetValueInput(node, i)->opcode() == 483 CHECK(NodeProperties::GetValueInput(node, i)->opcode() ==
484 IrOpcode::kStateValues || 484 IrOpcode::kStateValues ||
485 NodeProperties::GetValueInput(node, i)->opcode() == 485 NodeProperties::GetValueInput(node, i)->opcode() ==
486 IrOpcode::kTypedStateValues); 486 IrOpcode::kTypedStateValues);
487 } 487 }
488 break; 488 break;
489 } 489 }
490 case IrOpcode::kStateValues: 490 case IrOpcode::kStateValues:
491 case IrOpcode::kTypedStateValues:
491 case IrOpcode::kObjectState: 492 case IrOpcode::kObjectState:
492 case IrOpcode::kTypedStateValues: 493 case IrOpcode::kTypedObjectState:
493 // TODO(jarin): what are the constraints on these? 494 // TODO(jarin): what are the constraints on these?
494 break; 495 break;
495 case IrOpcode::kCall: 496 case IrOpcode::kCall:
496 // TODO(rossberg): what are the constraints on these? 497 // TODO(rossberg): what are the constraints on these?
497 break; 498 break;
498 case IrOpcode::kTailCall: 499 case IrOpcode::kTailCall:
499 // TODO(bmeurer): what are the constraints on these? 500 // TODO(bmeurer): what are the constraints on these?
500 break; 501 break;
501 502
502 // JavaScript operators 503 // JavaScript operators
(...skipping 1117 matching lines...) Expand 10 before | Expand all | Expand 10 after
1620 replacement->op()->EffectOutputCount() > 0); 1621 replacement->op()->EffectOutputCount() > 0);
1621 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1622 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1622 replacement->opcode() == IrOpcode::kFrameState); 1623 replacement->opcode() == IrOpcode::kFrameState);
1623 } 1624 }
1624 1625
1625 #endif // DEBUG 1626 #endif // DEBUG
1626 1627
1627 } // namespace compiler 1628 } // namespace compiler
1628 } // namespace internal 1629 } // namespace internal
1629 } // namespace v8 1630 } // namespace v8
OLDNEW
« src/compiler/common-operator.cc ('K') | « src/compiler/typer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698