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

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 tests and arm64 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/bytecode-graph-builder.cc ('k') | src/compiler/code-assembler.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 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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 Node* Float64Constant(double value); 229 Node* Float64Constant(double value);
230 Node* NaNConstant(); 230 Node* NaNConstant();
231 231
232 bool ToInt32Constant(Node* node, int32_t& out_value); 232 bool ToInt32Constant(Node* node, int32_t& out_value);
233 bool ToInt64Constant(Node* node, int64_t& out_value); 233 bool ToInt64Constant(Node* node, int64_t& out_value);
234 bool ToSmiConstant(Node* node, Smi*& out_value); 234 bool ToSmiConstant(Node* node, Smi*& out_value);
235 bool ToIntPtrConstant(Node* node, intptr_t& out_value); 235 bool ToIntPtrConstant(Node* node, intptr_t& out_value);
236 236
237 Node* Parameter(int value); 237 Node* Parameter(int value);
238 void Return(Node* value); 238 void Return(Node* value);
239 void PopAndReturn(Node* pop, Node* value);
239 240
240 void DebugBreak(); 241 void DebugBreak();
241 void Comment(const char* format, ...); 242 void Comment(const char* format, ...);
242 243
243 void Bind(Label* label); 244 void Bind(Label* label);
244 void Goto(Label* label); 245 void Goto(Label* label);
245 void GotoIf(Node* condition, Label* true_label); 246 void GotoIf(Node* condition, Label* true_label);
246 void GotoUnless(Node* condition, Label* false_label); 247 void GotoUnless(Node* condition, Label* false_label);
247 void Branch(Node* condition, Label* true_label, Label* false_label); 248 void Branch(Node* condition, Label* true_label, Label* false_label);
248 249
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 // Map of variables to the list of value nodes that have been added from each 516 // Map of variables to the list of value nodes that have been added from each
516 // merge path in their order of merging. 517 // merge path in their order of merging.
517 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; 518 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_;
518 }; 519 };
519 520
520 } // namespace compiler 521 } // namespace compiler
521 } // namespace internal 522 } // namespace internal
522 } // namespace v8 523 } // namespace v8
523 524
524 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ 525 #endif // V8_COMPILER_CODE_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/compiler/bytecode-graph-builder.cc ('k') | src/compiler/code-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698