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

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

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 #ifndef V8_COMPILER_CODE_ASSEMBLER_H_ 5 #ifndef V8_COMPILER_CODE_ASSEMBLER_H_
6 #define V8_COMPILER_CODE_ASSEMBLER_H_ 6 #define V8_COMPILER_CODE_ASSEMBLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 Node* Float64Constant(double value); 228 Node* Float64Constant(double value);
229 Node* NaNConstant(); 229 Node* NaNConstant();
230 230
231 bool ToInt32Constant(Node* node, int32_t& out_value); 231 bool ToInt32Constant(Node* node, int32_t& out_value);
232 bool ToInt64Constant(Node* node, int64_t& out_value); 232 bool ToInt64Constant(Node* node, int64_t& out_value);
233 bool ToSmiConstant(Node* node, Smi*& out_value); 233 bool ToSmiConstant(Node* node, Smi*& out_value);
234 bool ToIntPtrConstant(Node* node, intptr_t& out_value); 234 bool ToIntPtrConstant(Node* node, intptr_t& out_value);
235 235
236 Node* Parameter(int value); 236 Node* Parameter(int value);
237 void Return(Node* value); 237 void Return(Node* value);
238 void PopAndReturn(Node* pop, Node* value);
238 239
239 void DebugBreak(); 240 void DebugBreak();
240 void Comment(const char* format, ...); 241 void Comment(const char* format, ...);
241 242
242 void Bind(Label* label); 243 void Bind(Label* label);
243 void Goto(Label* label); 244 void Goto(Label* label);
244 void GotoIf(Node* condition, Label* true_label); 245 void GotoIf(Node* condition, Label* true_label);
245 void GotoUnless(Node* condition, Label* false_label); 246 void GotoUnless(Node* condition, Label* false_label);
246 void Branch(Node* condition, Label* true_label, Label* false_label); 247 void Branch(Node* condition, Label* true_label, Label* false_label);
247 248
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 // Map of variables to the list of value nodes that have been added from each 515 // Map of variables to the list of value nodes that have been added from each
515 // merge path in their order of merging. 516 // merge path in their order of merging.
516 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; 517 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_;
517 }; 518 };
518 519
519 } // namespace compiler 520 } // namespace compiler
520 } // namespace internal 521 } // namespace internal
521 } // namespace v8 522 } // namespace v8
522 523
523 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ 524 #endif // V8_COMPILER_CODE_ASSEMBLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698