| 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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 // =========================================================================== | 209 // =========================================================================== |
| 210 | 210 |
| 211 // Constants. | 211 // Constants. |
| 212 Node* Int32Constant(int32_t value); | 212 Node* Int32Constant(int32_t value); |
| 213 Node* Int64Constant(int64_t value); | 213 Node* Int64Constant(int64_t value); |
| 214 Node* IntPtrConstant(intptr_t value); | 214 Node* IntPtrConstant(intptr_t value); |
| 215 Node* NumberConstant(double value); | 215 Node* NumberConstant(double value); |
| 216 Node* SmiConstant(Smi* value); | 216 Node* SmiConstant(Smi* value); |
| 217 Node* SmiConstant(int value); | 217 Node* SmiConstant(int value); |
| 218 Node* HeapConstant(Handle<HeapObject> object); | 218 Node* HeapConstant(Handle<HeapObject> object); |
| 219 Node* CStringConstant(const char* str); |
| 219 Node* BooleanConstant(bool value); | 220 Node* BooleanConstant(bool value); |
| 220 Node* ExternalConstant(ExternalReference address); | 221 Node* ExternalConstant(ExternalReference address); |
| 221 Node* Float64Constant(double value); | 222 Node* Float64Constant(double value); |
| 222 Node* NaNConstant(); | 223 Node* NaNConstant(); |
| 223 | 224 |
| 224 bool ToInt32Constant(Node* node, int32_t& out_value); | 225 bool ToInt32Constant(Node* node, int32_t& out_value); |
| 225 bool ToInt64Constant(Node* node, int64_t& out_value); | 226 bool ToInt64Constant(Node* node, int64_t& out_value); |
| 226 bool ToSmiConstant(Node* node, Smi*& out_value); | 227 bool ToSmiConstant(Node* node, Smi*& out_value); |
| 227 bool ToIntPtrConstant(Node* node, intptr_t& out_value); | 228 bool ToIntPtrConstant(Node* node, intptr_t& out_value); |
| 228 | 229 |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 510 CodeAssemblerCallback call_epilogue_; | 511 CodeAssemblerCallback call_epilogue_; |
| 511 | 512 |
| 512 DISALLOW_COPY_AND_ASSIGN(CodeAssemblerState); | 513 DISALLOW_COPY_AND_ASSIGN(CodeAssemblerState); |
| 513 }; | 514 }; |
| 514 | 515 |
| 515 } // namespace compiler | 516 } // namespace compiler |
| 516 } // namespace internal | 517 } // namespace internal |
| 517 } // namespace v8 | 518 } // namespace v8 |
| 518 | 519 |
| 519 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ | 520 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ |
| OLD | NEW |