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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 }; | 184 }; |
185 | 185 |
186 typedef base::Flags<AllocationFlag> AllocationFlags; | 186 typedef base::Flags<AllocationFlag> AllocationFlags; |
187 | 187 |
188 // =========================================================================== | 188 // =========================================================================== |
189 // Base Assembler | 189 // Base Assembler |
190 // =========================================================================== | 190 // =========================================================================== |
191 | 191 |
192 // Constants. | 192 // Constants. |
193 Node* Int32Constant(int value); | 193 Node* Int32Constant(int value); |
| 194 Node* Int64Constant(int64_t value); |
194 Node* IntPtrConstant(intptr_t value); | 195 Node* IntPtrConstant(intptr_t value); |
195 Node* NumberConstant(double value); | 196 Node* NumberConstant(double value); |
196 Node* SmiConstant(Smi* value); | 197 Node* SmiConstant(Smi* value); |
197 Node* HeapConstant(Handle<HeapObject> object); | 198 Node* HeapConstant(Handle<HeapObject> object); |
198 Node* BooleanConstant(bool value); | 199 Node* BooleanConstant(bool value); |
199 Node* ExternalConstant(ExternalReference address); | 200 Node* ExternalConstant(ExternalReference address); |
200 Node* Float64Constant(double value); | 201 Node* Float64Constant(double value); |
201 Node* NaNConstant(); | 202 Node* NaNConstant(); |
202 | 203 |
203 Node* Parameter(int value); | 204 Node* Parameter(int value); |
(...skipping 190 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 | 395 // Map of variables to the list of value nodes that have been added from each |
395 // merge path in their order of merging. | 396 // merge path in their order of merging. |
396 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; | 397 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; |
397 }; | 398 }; |
398 | 399 |
399 } // namespace compiler | 400 } // namespace compiler |
400 } // namespace internal | 401 } // namespace internal |
401 } // namespace v8 | 402 } // namespace v8 |
402 | 403 |
403 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ | 404 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ |
OLD | NEW |