| 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 | 9 |
| 10 // Clients of this interface shouldn't depend on lots of compiler internals. | 10 // Clients of this interface shouldn't depend on lots of compiler internals. |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 Node* SmiConstant(Smi* value); | 196 Node* SmiConstant(Smi* value); |
| 197 Node* HeapConstant(Handle<HeapObject> object); | 197 Node* HeapConstant(Handle<HeapObject> object); |
| 198 Node* BooleanConstant(bool value); | 198 Node* BooleanConstant(bool value); |
| 199 Node* ExternalConstant(ExternalReference address); | 199 Node* ExternalConstant(ExternalReference address); |
| 200 Node* Float64Constant(double value); | 200 Node* Float64Constant(double value); |
| 201 Node* NaNConstant(); | 201 Node* NaNConstant(); |
| 202 | 202 |
| 203 Node* Parameter(int value); | 203 Node* Parameter(int value); |
| 204 void Return(Node* value); | 204 void Return(Node* value); |
| 205 | 205 |
| 206 void DebugBreak(); |
| 207 |
| 206 void Bind(Label* label); | 208 void Bind(Label* label); |
| 207 void Goto(Label* label); | 209 void Goto(Label* label); |
| 208 void GotoIf(Node* condition, Label* true_label); | 210 void GotoIf(Node* condition, Label* true_label); |
| 209 void GotoUnless(Node* condition, Label* false_label); | 211 void GotoUnless(Node* condition, Label* false_label); |
| 210 void Branch(Node* condition, Label* true_label, Label* false_label); | 212 void Branch(Node* condition, Label* true_label, Label* false_label); |
| 211 | 213 |
| 212 void Switch(Node* index, Label* default_label, int32_t* case_values, | 214 void Switch(Node* index, Label* default_label, int32_t* case_values, |
| 213 Label** case_labels, size_t case_count); | 215 Label** case_labels, size_t case_count); |
| 214 | 216 |
| 215 // Access to the frame pointer | 217 // Access to the frame pointer |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 // Map of variables to the list of value nodes that have been added from each | 396 // Map of variables to the list of value nodes that have been added from each |
| 395 // merge path in their order of merging. | 397 // merge path in their order of merging. |
| 396 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; | 398 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; |
| 397 }; | 399 }; |
| 398 | 400 |
| 399 } // namespace compiler | 401 } // namespace compiler |
| 400 } // namespace internal | 402 } // namespace internal |
| 401 } // namespace v8 | 403 } // namespace v8 |
| 402 | 404 |
| 403 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ | 405 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ |
| OLD | NEW |