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

Side by Side Diff: src/compiler/operator-properties.cc

Issue 2949813002: [turbofan] Introduce new JSConstructWithArrayLike operator. (Closed)
Patch Set: Address feedback. Created 3 years, 6 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/opcodes.h ('k') | src/compiler/typer.cc » ('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/operator-properties.h" 5 #include "src/compiler/operator-properties.h"
6 6
7 #include "src/compiler/js-operator.h" 7 #include "src/compiler/js-operator.h"
8 #include "src/compiler/linkage.h" 8 #include "src/compiler/linkage.h"
9 #include "src/compiler/opcodes.h" 9 #include "src/compiler/opcodes.h"
10 10
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 case IrOpcode::kJSToLength: 93 case IrOpcode::kJSToLength:
94 case IrOpcode::kJSToName: 94 case IrOpcode::kJSToName:
95 case IrOpcode::kJSToNumber: 95 case IrOpcode::kJSToNumber:
96 case IrOpcode::kJSToObject: 96 case IrOpcode::kJSToObject:
97 case IrOpcode::kJSToString: 97 case IrOpcode::kJSToString:
98 case IrOpcode::kJSToPrimitiveToString: 98 case IrOpcode::kJSToPrimitiveToString:
99 99
100 // Call operations 100 // Call operations
101 case IrOpcode::kJSConstructForwardVarargs: 101 case IrOpcode::kJSConstructForwardVarargs:
102 case IrOpcode::kJSConstruct: 102 case IrOpcode::kJSConstruct:
103 case IrOpcode::kJSConstructWithArrayLike:
103 case IrOpcode::kJSConstructWithSpread: 104 case IrOpcode::kJSConstructWithSpread:
104 case IrOpcode::kJSCallForwardVarargs: 105 case IrOpcode::kJSCallForwardVarargs:
105 case IrOpcode::kJSCall: 106 case IrOpcode::kJSCall:
106 case IrOpcode::kJSCallWithArrayLike: 107 case IrOpcode::kJSCallWithArrayLike:
107 case IrOpcode::kJSCallWithSpread: 108 case IrOpcode::kJSCallWithSpread:
108 109
109 // Misc operations 110 // Misc operations
110 case IrOpcode::kJSForInNext: 111 case IrOpcode::kJSForInNext:
111 case IrOpcode::kJSForInPrepare: 112 case IrOpcode::kJSForInPrepare:
112 case IrOpcode::kJSStackCheck: 113 case IrOpcode::kJSStackCheck:
(...skipping 22 matching lines...) Expand all
135 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop || 136 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop ||
136 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue || 137 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue ||
137 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess || 138 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess ||
138 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue || 139 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue ||
139 opcode == IrOpcode::kIfDefault; 140 opcode == IrOpcode::kIfDefault;
140 } 141 }
141 142
142 } // namespace compiler 143 } // namespace compiler
143 } // namespace internal 144 } // namespace internal
144 } // namespace v8 145 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/typer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698