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

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

Issue 2484003002: [builtins] implement JSBuiltinReducer for ArrayIteratorNext() (Closed)
Patch Set: bunch of changes 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
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 565 matching lines...) Expand 10 before | Expand all | Expand 10 after
576 CheckTypeIs(node, Type::OtherObject()); 576 CheckTypeIs(node, Type::OtherObject());
577 break; 577 break;
578 case IrOpcode::kJSCreateClosure: 578 case IrOpcode::kJSCreateClosure:
579 // Type is Function. 579 // Type is Function.
580 CheckTypeIs(node, Type::Function()); 580 CheckTypeIs(node, Type::Function());
581 break; 581 break;
582 case IrOpcode::kJSCreateIterResultObject: 582 case IrOpcode::kJSCreateIterResultObject:
583 // Type is OtherObject. 583 // Type is OtherObject.
584 CheckTypeIs(node, Type::OtherObject()); 584 CheckTypeIs(node, Type::OtherObject());
585 break; 585 break;
586 case IrOpcode::kJSCreateKeyValueArray:
587 // Type is OtherObject.
588 CheckTypeIs(node, Type::OtherObject());
589 break;
586 case IrOpcode::kJSCreateLiteralArray: 590 case IrOpcode::kJSCreateLiteralArray:
587 case IrOpcode::kJSCreateLiteralObject: 591 case IrOpcode::kJSCreateLiteralObject:
588 case IrOpcode::kJSCreateLiteralRegExp: 592 case IrOpcode::kJSCreateLiteralRegExp:
589 // Type is OtherObject. 593 // Type is OtherObject.
590 CheckTypeIs(node, Type::OtherObject()); 594 CheckTypeIs(node, Type::OtherObject());
591 break; 595 break;
592 case IrOpcode::kJSLoadProperty: 596 case IrOpcode::kJSLoadProperty:
593 case IrOpcode::kJSLoadNamed: 597 case IrOpcode::kJSLoadNamed:
594 case IrOpcode::kJSLoadGlobal: 598 case IrOpcode::kJSLoadGlobal:
595 // Type can be anything. 599 // Type can be anything.
(...skipping 1024 matching lines...) Expand 10 before | Expand all | Expand 10 after
1620 replacement->op()->EffectOutputCount() > 0); 1624 replacement->op()->EffectOutputCount() > 0);
1621 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1625 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1622 replacement->opcode() == IrOpcode::kFrameState); 1626 replacement->opcode() == IrOpcode::kFrameState);
1623 } 1627 }
1624 1628
1625 #endif // DEBUG 1629 #endif // DEBUG
1626 1630
1627 } // namespace compiler 1631 } // namespace compiler
1628 } // namespace internal 1632 } // namespace internal
1629 } // namespace v8 1633 } // namespace v8
OLDNEW
« src/compiler/js-create-lowering.cc ('K') | « src/compiler/types.h ('k') | src/globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698