OLD | NEW |
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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 Node* NaNConstant(); | 222 Node* NaNConstant(); |
223 | 223 |
224 bool ToInt32Constant(Node* node, int32_t& out_value); | 224 bool ToInt32Constant(Node* node, int32_t& out_value); |
225 bool ToInt64Constant(Node* node, int64_t& out_value); | 225 bool ToInt64Constant(Node* node, int64_t& out_value); |
226 bool ToSmiConstant(Node* node, Smi*& out_value); | 226 bool ToSmiConstant(Node* node, Smi*& out_value); |
227 bool ToIntPtrConstant(Node* node, intptr_t& out_value); | 227 bool ToIntPtrConstant(Node* node, intptr_t& out_value); |
228 | 228 |
229 Node* Parameter(int value); | 229 Node* Parameter(int value); |
230 Node* GetJSContextParameter(); | 230 Node* GetJSContextParameter(); |
231 void Return(Node* value); | 231 void Return(Node* value); |
| 232 void Return(Node* value1, Node* value2); |
| 233 void Return(Node* value1, Node* value2, Node* value3); |
232 void PopAndReturn(Node* pop, Node* value); | 234 void PopAndReturn(Node* pop, Node* value); |
233 | 235 |
234 void DebugBreak(); | 236 void DebugBreak(); |
235 void Comment(const char* format, ...); | 237 void Comment(const char* format, ...); |
236 | 238 |
237 void Bind(Label* label); | 239 void Bind(Label* label); |
238 void Goto(Label* label); | 240 void Goto(Label* label); |
239 void GotoIf(Node* condition, Label* true_label); | 241 void GotoIf(Node* condition, Label* true_label); |
240 void GotoUnless(Node* condition, Label* false_label); | 242 void GotoUnless(Node* condition, Label* false_label); |
241 void Branch(Node* condition, Label* true_label, Label* false_label); | 243 void Branch(Node* condition, Label* true_label, Label* false_label); |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
507 CodeAssemblerCallback call_epilogue_; | 509 CodeAssemblerCallback call_epilogue_; |
508 | 510 |
509 DISALLOW_COPY_AND_ASSIGN(CodeAssemblerState); | 511 DISALLOW_COPY_AND_ASSIGN(CodeAssemblerState); |
510 }; | 512 }; |
511 | 513 |
512 } // namespace compiler | 514 } // namespace compiler |
513 } // namespace internal | 515 } // namespace internal |
514 } // namespace v8 | 516 } // namespace v8 |
515 | 517 |
516 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ | 518 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ |
OLD | NEW |