| 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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 | 239 |
| 240 void DebugBreak(); | 240 void DebugBreak(); |
| 241 void Comment(const char* format, ...); | 241 void Comment(const char* format, ...); |
| 242 | 242 |
| 243 void Bind(Label* label); | 243 void Bind(Label* label); |
| 244 void Goto(Label* label); | 244 void Goto(Label* label); |
| 245 void GotoIf(Node* condition, Label* true_label); | 245 void GotoIf(Node* condition, Label* true_label); |
| 246 void GotoUnless(Node* condition, Label* false_label); | 246 void GotoUnless(Node* condition, Label* false_label); |
| 247 void Branch(Node* condition, Label* true_label, Label* false_label); | 247 void Branch(Node* condition, Label* true_label, Label* false_label); |
| 248 | 248 |
| 249 void Switch(Node* index, Label* default_label, int32_t* case_values, | 249 void Switch(Node* index, Label* default_label, const int32_t* case_values, |
| 250 Label** case_labels, size_t case_count); | 250 Label** case_labels, size_t case_count); |
| 251 | 251 |
| 252 Node* Select(Node* condition, Node* true_value, Node* false_value, | 252 Node* Select(Node* condition, Node* true_value, Node* false_value, |
| 253 MachineRepresentation rep = MachineRepresentation::kTagged); | 253 MachineRepresentation rep = MachineRepresentation::kTagged); |
| 254 | 254 |
| 255 // Access to the frame pointer | 255 // Access to the frame pointer |
| 256 Node* LoadFramePointer(); | 256 Node* LoadFramePointer(); |
| 257 Node* LoadParentFramePointer(); | 257 Node* LoadParentFramePointer(); |
| 258 | 258 |
| 259 // Access to the stack pointer | 259 // Access to the stack pointer |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 454 // Map of variables to the list of value nodes that have been added from each | 454 // Map of variables to the list of value nodes that have been added from each |
| 455 // merge path in their order of merging. | 455 // merge path in their order of merging. |
| 456 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; | 456 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; |
| 457 }; | 457 }; |
| 458 | 458 |
| 459 } // namespace compiler | 459 } // namespace compiler |
| 460 } // namespace internal | 460 } // namespace internal |
| 461 } // namespace v8 | 461 } // namespace v8 |
| 462 | 462 |
| 463 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ | 463 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ |
| OLD | NEW |