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

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

Issue 2890023004: [turbofan] Avoid allocating rest parameters for spread calls. (Closed)
Patch Set: Created 3 years, 7 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 89
90 // Conversions 90 // Conversions
91 case IrOpcode::kJSToInteger: 91 case IrOpcode::kJSToInteger:
92 case IrOpcode::kJSToLength: 92 case IrOpcode::kJSToLength:
93 case IrOpcode::kJSToName: 93 case IrOpcode::kJSToName:
94 case IrOpcode::kJSToNumber: 94 case IrOpcode::kJSToNumber:
95 case IrOpcode::kJSToObject: 95 case IrOpcode::kJSToObject:
96 case IrOpcode::kJSToString: 96 case IrOpcode::kJSToString:
97 97
98 // Call operations 98 // Call operations
99 case IrOpcode::kJSConstructForwardVarargs:
99 case IrOpcode::kJSConstruct: 100 case IrOpcode::kJSConstruct:
100 case IrOpcode::kJSConstructWithSpread: 101 case IrOpcode::kJSConstructWithSpread:
101 case IrOpcode::kJSCallForwardVarargs: 102 case IrOpcode::kJSCallForwardVarargs:
102 case IrOpcode::kJSCall: 103 case IrOpcode::kJSCall:
103 case IrOpcode::kJSCallWithSpread: 104 case IrOpcode::kJSCallWithSpread:
104 105
105 // Misc operations 106 // Misc operations
106 case IrOpcode::kJSForInNext: 107 case IrOpcode::kJSForInNext:
107 case IrOpcode::kJSForInPrepare: 108 case IrOpcode::kJSForInPrepare:
108 case IrOpcode::kJSStackCheck: 109 case IrOpcode::kJSStackCheck:
(...skipping 22 matching lines...) Expand all
131 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop || 132 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop ||
132 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue || 133 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue ||
133 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess || 134 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess ||
134 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue || 135 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue ||
135 opcode == IrOpcode::kIfDefault; 136 opcode == IrOpcode::kIfDefault;
136 } 137 }
137 138
138 } // namespace compiler 139 } // namespace compiler
139 } // namespace internal 140 } // namespace internal
140 } // namespace v8 141 } // 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