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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
102 | 102 |
103 Node* HashSeed(); | 103 Node* HashSeed(); |
104 Node* StaleRegisterConstant(); | 104 Node* StaleRegisterConstant(); |
105 | 105 |
106 Node* IntPtrOrSmiConstant(int value, ParameterMode mode); | 106 Node* IntPtrOrSmiConstant(int value, ParameterMode mode); |
107 | 107 |
108 Node* IntPtrAddFoldConstants(Node* left, Node* right); | 108 Node* IntPtrAddFoldConstants(Node* left, Node* right); |
109 Node* IntPtrSubFoldConstants(Node* left, Node* right); | 109 Node* IntPtrSubFoldConstants(Node* left, Node* right); |
110 // Round the 32bits payload of the provided word up to the next power of two. | 110 // Round the 32bits payload of the provided word up to the next power of two. |
111 Node* IntPtrRoundUpToPowerOfTwo32(Node* value); | 111 Node* IntPtrRoundUpToPowerOfTwo32(Node* value); |
112 // Select the maximum of the two provided IntPtr values. | |
112 Node* IntPtrMax(Node* left, Node* right); | 113 Node* IntPtrMax(Node* left, Node* right); |
114 // Select the mininum of the two providede IntPtr values. | |
Jakob Kummerow
2016/12/06 06:58:40
nit: s/num/mum/, s/dede/ded/
Camillo Bruni
2016/12/12 15:45:20
;) done
| |
115 Node* IntPtrMin(Node* left, Node* right); | |
113 | 116 |
114 // Float64 operations. | 117 // Float64 operations. |
115 Node* Float64Ceil(Node* x); | 118 Node* Float64Ceil(Node* x); |
116 Node* Float64Floor(Node* x); | 119 Node* Float64Floor(Node* x); |
117 Node* Float64Round(Node* x); | 120 Node* Float64Round(Node* x); |
118 Node* Float64Trunc(Node* x); | 121 Node* Float64Trunc(Node* x); |
119 | 122 |
120 // Tag a Word as a Smi value. | 123 // Tag a Word as a Smi value. |
121 Node* SmiTag(Node* value); | 124 Node* SmiTag(Node* value); |
122 // Untag a Smi value as a Word. | 125 // Untag a Smi value as a Word. |
(...skipping 968 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1091 } | 1094 } |
1092 #else | 1095 #else |
1093 #define CSA_SLOW_ASSERT(csa, x) ((void)0) | 1096 #define CSA_SLOW_ASSERT(csa, x) ((void)0) |
1094 #endif | 1097 #endif |
1095 | 1098 |
1096 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); | 1099 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); |
1097 | 1100 |
1098 } // namespace internal | 1101 } // namespace internal |
1099 } // namespace v8 | 1102 } // namespace v8 |
1100 #endif // V8_CODE_STUB_ASSEMBLER_H_ | 1103 #endif // V8_CODE_STUB_ASSEMBLER_H_ |
OLD | NEW |