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

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

Issue 2557283002: [turbofan] Add NewUnmappedArgumentsElements and NewRestParametersArguments. (Closed)
Patch Set: Fixes. Created 4 years 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/interface-descriptors.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 898 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 case IrOpcode::kObjectIsCallable: 909 case IrOpcode::kObjectIsCallable:
910 case IrOpcode::kObjectIsNumber: 910 case IrOpcode::kObjectIsNumber:
911 case IrOpcode::kObjectIsReceiver: 911 case IrOpcode::kObjectIsReceiver:
912 case IrOpcode::kObjectIsSmi: 912 case IrOpcode::kObjectIsSmi:
913 case IrOpcode::kObjectIsString: 913 case IrOpcode::kObjectIsString:
914 case IrOpcode::kObjectIsUndetectable: 914 case IrOpcode::kObjectIsUndetectable:
915 case IrOpcode::kArrayBufferWasNeutered: 915 case IrOpcode::kArrayBufferWasNeutered:
916 CheckValueInputIs(node, 0, Type::Any()); 916 CheckValueInputIs(node, 0, Type::Any());
917 CheckTypeIs(node, Type::Boolean()); 917 CheckTypeIs(node, Type::Boolean());
918 break; 918 break;
919 case IrOpcode::kNewRestParameterElements:
920 case IrOpcode::kNewUnmappedArgumentsElements:
921 CheckTypeIs(node, Type::OtherInternal());
922 break;
919 case IrOpcode::kAllocate: 923 case IrOpcode::kAllocate:
920 CheckValueInputIs(node, 0, Type::PlainNumber()); 924 CheckValueInputIs(node, 0, Type::PlainNumber());
921 break; 925 break;
922 case IrOpcode::kEnsureWritableFastElements: 926 case IrOpcode::kEnsureWritableFastElements:
923 CheckValueInputIs(node, 0, Type::Any()); 927 CheckValueInputIs(node, 0, Type::Any());
924 CheckValueInputIs(node, 1, Type::Internal()); 928 CheckValueInputIs(node, 1, Type::Internal());
925 CheckTypeIs(node, Type::Internal()); 929 CheckTypeIs(node, Type::Internal());
926 break; 930 break;
927 case IrOpcode::kMaybeGrowFastElements: 931 case IrOpcode::kMaybeGrowFastElements:
928 CheckValueInputIs(node, 0, Type::Any()); 932 CheckValueInputIs(node, 0, Type::Any());
(...skipping 724 matching lines...) Expand 10 before | Expand all | Expand 10 after
1653 replacement->op()->EffectOutputCount() > 0); 1657 replacement->op()->EffectOutputCount() > 0);
1654 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1658 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1655 replacement->opcode() == IrOpcode::kFrameState); 1659 replacement->opcode() == IrOpcode::kFrameState);
1656 } 1660 }
1657 1661
1658 #endif // DEBUG 1662 #endif // DEBUG
1659 1663
1660 } // namespace compiler 1664 } // namespace compiler
1661 } // namespace internal 1665 } // namespace internal
1662 } // namespace v8 1666 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | src/interface-descriptors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698