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/code-assembler.cc

Issue 2446543002: [turbofan] Support variable size argument popping in TF-generated functions (Closed)
Patch Set: Fix bugs 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 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 } 169 }
170 170
171 Node* CodeAssembler::Parameter(int value) { 171 Node* CodeAssembler::Parameter(int value) {
172 return raw_assembler_->Parameter(value); 172 return raw_assembler_->Parameter(value);
173 } 173 }
174 174
175 void CodeAssembler::Return(Node* value) { 175 void CodeAssembler::Return(Node* value) {
176 return raw_assembler_->Return(value); 176 return raw_assembler_->Return(value);
177 } 177 }
178 178
179 void CodeAssembler::PopAndReturn(Node* pop, Node* value) {
180 return raw_assembler_->PopAndReturn(pop, value);
181 }
182
179 void CodeAssembler::DebugBreak() { raw_assembler_->DebugBreak(); } 183 void CodeAssembler::DebugBreak() { raw_assembler_->DebugBreak(); }
180 184
181 void CodeAssembler::Comment(const char* format, ...) { 185 void CodeAssembler::Comment(const char* format, ...) {
182 if (!FLAG_code_comments) return; 186 if (!FLAG_code_comments) return;
183 char buffer[4 * KB]; 187 char buffer[4 * KB];
184 StringBuilder builder(buffer, arraysize(buffer)); 188 StringBuilder builder(buffer, arraysize(buffer));
185 va_list arguments; 189 va_list arguments;
186 va_start(arguments, format); 190 va_start(arguments, format);
187 builder.AddFormattedList(format, arguments); 191 builder.AddFormattedList(format, arguments);
188 va_end(arguments); 192 va_end(arguments);
(...skipping 980 matching lines...) Expand 10 before | Expand all | Expand 10 after
1169 } 1173 }
1170 } 1174 }
1171 } 1175 }
1172 1176
1173 bound_ = true; 1177 bound_ = true;
1174 } 1178 }
1175 1179
1176 } // namespace compiler 1180 } // namespace compiler
1177 } // namespace internal 1181 } // namespace internal
1178 } // namespace v8 1182 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698