| 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |