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

Side by Side Diff: src/compiler/code-assembler.cc

Issue 2473643002: Revert of [turbofan] Support variable size argument popping in TF-generated functions (Closed)
Patch Set: 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
« no previous file with comments | « src/compiler/code-assembler.h ('k') | src/compiler/code-generator.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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/code-assembler.h" 5 #include "src/compiler/code-assembler.h"
6 6
7 #include <ostream> 7 #include <ostream>
8 8
9 #include "src/code-factory.h" 9 #include "src/code-factory.h"
10 #include "src/compiler/graph.h" 10 #include "src/compiler/graph.h"
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 } 173 }
174 174
175 Node* CodeAssembler::Parameter(int value) { 175 Node* CodeAssembler::Parameter(int value) {
176 return raw_assembler_->Parameter(value); 176 return raw_assembler_->Parameter(value);
177 } 177 }
178 178
179 void CodeAssembler::Return(Node* value) { 179 void CodeAssembler::Return(Node* value) {
180 return raw_assembler_->Return(value); 180 return raw_assembler_->Return(value);
181 } 181 }
182 182
183 void CodeAssembler::PopAndReturn(Node* pop, Node* value) {
184 return raw_assembler_->PopAndReturn(pop, value);
185 }
186
187 void CodeAssembler::DebugBreak() { raw_assembler_->DebugBreak(); } 183 void CodeAssembler::DebugBreak() { raw_assembler_->DebugBreak(); }
188 184
189 void CodeAssembler::Comment(const char* format, ...) { 185 void CodeAssembler::Comment(const char* format, ...) {
190 if (!FLAG_code_comments) return; 186 if (!FLAG_code_comments) return;
191 char buffer[4 * KB]; 187 char buffer[4 * KB];
192 StringBuilder builder(buffer, arraysize(buffer)); 188 StringBuilder builder(buffer, arraysize(buffer));
193 va_list arguments; 189 va_list arguments;
194 va_start(arguments, format); 190 va_start(arguments, format);
195 builder.AddFormattedList(format, arguments); 191 builder.AddFormattedList(format, arguments);
196 va_end(arguments); 192 va_end(arguments);
(...skipping 980 matching lines...) Expand 10 before | Expand all | Expand 10 after
1177 } 1173 }
1178 } 1174 }
1179 } 1175 }
1180 1176
1181 bound_ = true; 1177 bound_ = true;
1182 } 1178 }
1183 1179
1184 } // namespace compiler 1180 } // namespace compiler
1185 } // namespace internal 1181 } // namespace internal
1186 } // namespace v8 1182 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/code-assembler.h ('k') | src/compiler/code-generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698