OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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_CODE_STUB_ASSEMBLER_H_ | 5 #ifndef V8_CODE_STUB_ASSEMBLER_H_ |
6 #define V8_CODE_STUB_ASSEMBLER_H_ | 6 #define V8_CODE_STUB_ASSEMBLER_H_ |
7 | 7 |
8 #include <functional> | 8 #include <functional> |
9 | 9 |
10 #include "src/compiler/code-assembler.h" | 10 #include "src/compiler/code-assembler.h" |
(...skipping 26 matching lines...) Expand all Loading... |
37 // Create with JSCall linkage. | 37 // Create with JSCall linkage. |
38 CodeStubAssembler(Isolate* isolate, Zone* zone, int parameter_count, | 38 CodeStubAssembler(Isolate* isolate, Zone* zone, int parameter_count, |
39 Code::Flags flags, const char* name); | 39 Code::Flags flags, const char* name); |
40 | 40 |
41 enum ParameterMode { INTEGER_PARAMETERS, SMI_PARAMETERS }; | 41 enum ParameterMode { INTEGER_PARAMETERS, SMI_PARAMETERS }; |
42 | 42 |
43 compiler::Node* BooleanMapConstant(); | 43 compiler::Node* BooleanMapConstant(); |
44 compiler::Node* EmptyStringConstant(); | 44 compiler::Node* EmptyStringConstant(); |
45 compiler::Node* HeapNumberMapConstant(); | 45 compiler::Node* HeapNumberMapConstant(); |
46 compiler::Node* NoContextConstant(); | 46 compiler::Node* NoContextConstant(); |
47 compiler::Node* MinusZeroConstant(); | |
48 compiler::Node* NanConstant(); | 47 compiler::Node* NanConstant(); |
49 compiler::Node* NullConstant(); | 48 compiler::Node* NullConstant(); |
| 49 compiler::Node* MinusZeroConstant(); |
50 compiler::Node* UndefinedConstant(); | 50 compiler::Node* UndefinedConstant(); |
51 compiler::Node* TheHoleConstant(); | 51 compiler::Node* TheHoleConstant(); |
52 compiler::Node* HashSeed(); | 52 compiler::Node* HashSeed(); |
53 compiler::Node* StaleRegisterConstant(); | 53 compiler::Node* StaleRegisterConstant(); |
54 | 54 |
55 // Float64 operations. | 55 // Float64 operations. |
56 compiler::Node* Float64Ceil(compiler::Node* x); | 56 compiler::Node* Float64Ceil(compiler::Node* x); |
57 compiler::Node* Float64Floor(compiler::Node* x); | 57 compiler::Node* Float64Floor(compiler::Node* x); |
58 compiler::Node* Float64Round(compiler::Node* x); | 58 compiler::Node* Float64Round(compiler::Node* x); |
59 compiler::Node* Float64Trunc(compiler::Node* x); | 59 compiler::Node* Float64Trunc(compiler::Node* x); |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
475 AllocationFlags flags, | 475 AllocationFlags flags, |
476 compiler::Node* top_adddress, | 476 compiler::Node* top_adddress, |
477 compiler::Node* limit_address); | 477 compiler::Node* limit_address); |
478 | 478 |
479 static const int kElementLoopUnrollThreshold = 8; | 479 static const int kElementLoopUnrollThreshold = 8; |
480 }; | 480 }; |
481 | 481 |
482 } // namespace internal | 482 } // namespace internal |
483 } // namespace v8 | 483 } // namespace v8 |
484 #endif // V8_CODE_STUB_ASSEMBLER_H_ | 484 #endif // V8_CODE_STUB_ASSEMBLER_H_ |
OLD | NEW |