| 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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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); | 232 void Return(Node* value1, Node* value2); |
| 233 void Return(Node* value1, Node* value2, Node* value3); | 233 void Return(Node* value1, Node* value2, Node* value3); |
| 234 void PopAndReturn(Node* pop, Node* value); | 234 void PopAndReturn(Node* pop, Node* value); |
| 235 | 235 |
| 236 void DebugBreak(); | 236 void DebugBreak(); |
| 237 void Unreachable(); |
| 237 void Comment(const char* format, ...); | 238 void Comment(const char* format, ...); |
| 238 | 239 |
| 239 void Bind(Label* label); | 240 void Bind(Label* label); |
| 240 void Goto(Label* label); | 241 void Goto(Label* label); |
| 241 void GotoIf(Node* condition, Label* true_label); | 242 void GotoIf(Node* condition, Label* true_label); |
| 242 void GotoIfNot(Node* condition, Label* false_label); | 243 void GotoIfNot(Node* condition, Label* false_label); |
| 243 void Branch(Node* condition, Label* true_label, Label* false_label); | 244 void Branch(Node* condition, Label* true_label, Label* false_label); |
| 244 | 245 |
| 245 void Switch(Node* index, Label* default_label, const int32_t* case_values, | 246 void Switch(Node* index, Label* default_label, const int32_t* case_values, |
| 246 Label** case_labels, size_t case_count); | 247 Label** case_labels, size_t case_count); |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 509 CodeAssemblerCallback call_epilogue_; | 510 CodeAssemblerCallback call_epilogue_; |
| 510 | 511 |
| 511 DISALLOW_COPY_AND_ASSIGN(CodeAssemblerState); | 512 DISALLOW_COPY_AND_ASSIGN(CodeAssemblerState); |
| 512 }; | 513 }; |
| 513 | 514 |
| 514 } // namespace compiler | 515 } // namespace compiler |
| 515 } // namespace internal | 516 } // namespace internal |
| 516 } // namespace v8 | 517 } // namespace v8 |
| 517 | 518 |
| 518 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ | 519 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ |
| OLD | NEW |