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 1142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1153 // TypedArray/ArrayBuffer helpers | 1153 // TypedArray/ArrayBuffer helpers |
1154 Node* IsDetachedBuffer(Node* buffer); | 1154 Node* IsDetachedBuffer(Node* buffer); |
1155 | 1155 |
1156 Node* ElementOffsetFromIndex(Node* index, ElementsKind kind, | 1156 Node* ElementOffsetFromIndex(Node* index, ElementsKind kind, |
1157 ParameterMode mode, int base_size = 0); | 1157 ParameterMode mode, int base_size = 0); |
1158 | 1158 |
1159 Node* AllocateFunctionWithMapAndContext(Node* map, Node* shared_info, | 1159 Node* AllocateFunctionWithMapAndContext(Node* map, Node* shared_info, |
1160 Node* context); | 1160 Node* context); |
1161 | 1161 |
1162 // Promise helpers | 1162 // Promise helpers |
1163 Node* IsPromiseHookEnabled(); | 1163 Node* IsPromiseHookEnabledOrDebugIsActive(); |
1164 | 1164 |
1165 Node* AllocatePromiseReactionJobInfo(Node* value, Node* tasks, | 1165 Node* AllocatePromiseReactionJobInfo(Node* value, Node* tasks, |
1166 Node* deferred_promise, | 1166 Node* deferred_promise, |
1167 Node* deferred_on_resolve, | 1167 Node* deferred_on_resolve, |
1168 Node* deferred_on_reject, Node* context); | 1168 Node* deferred_on_reject, Node* context); |
1169 | 1169 |
1170 protected: | 1170 protected: |
1171 void DescriptorLookupLinear(Node* unique_name, Node* descriptors, Node* nof, | 1171 void DescriptorLookupLinear(Node* unique_name, Node* descriptors, Node* nof, |
1172 Label* if_found, Variable* var_name_index, | 1172 Label* if_found, Variable* var_name_index, |
1173 Label* if_not_found); | 1173 Label* if_not_found); |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1286 } | 1286 } |
1287 #else | 1287 #else |
1288 #define CSA_SLOW_ASSERT(csa, x) ((void)0) | 1288 #define CSA_SLOW_ASSERT(csa, x) ((void)0) |
1289 #endif | 1289 #endif |
1290 | 1290 |
1291 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); | 1291 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); |
1292 | 1292 |
1293 } // namespace internal | 1293 } // namespace internal |
1294 } // namespace v8 | 1294 } // namespace v8 |
1295 #endif // V8_CODE_STUB_ASSEMBLER_H_ | 1295 #endif // V8_CODE_STUB_ASSEMBLER_H_ |
OLD | NEW |