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 1144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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* IsPromiseHookEnabled(); |
1164 | 1164 |
| 1165 Node* IsPromiseHookEnabledOrDebugIsActive(); |
| 1166 |
1165 Node* AllocatePromiseReactionJobInfo(Node* value, Node* tasks, | 1167 Node* AllocatePromiseReactionJobInfo(Node* value, Node* tasks, |
1166 Node* deferred_promise, | 1168 Node* deferred_promise, |
1167 Node* deferred_on_resolve, | 1169 Node* deferred_on_resolve, |
1168 Node* deferred_on_reject, Node* context); | 1170 Node* deferred_on_reject, Node* context); |
1169 | 1171 |
1170 protected: | 1172 protected: |
1171 void DescriptorLookupLinear(Node* unique_name, Node* descriptors, Node* nof, | 1173 void DescriptorLookupLinear(Node* unique_name, Node* descriptors, Node* nof, |
1172 Label* if_found, Variable* var_name_index, | 1174 Label* if_found, Variable* var_name_index, |
1173 Label* if_not_found); | 1175 Label* if_not_found); |
1174 | 1176 |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1286 } | 1288 } |
1287 #else | 1289 #else |
1288 #define CSA_SLOW_ASSERT(csa, x) ((void)0) | 1290 #define CSA_SLOW_ASSERT(csa, x) ((void)0) |
1289 #endif | 1291 #endif |
1290 | 1292 |
1291 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); | 1293 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); |
1292 | 1294 |
1293 } // namespace internal | 1295 } // namespace internal |
1294 } // namespace v8 | 1296 } // namespace v8 |
1295 #endif // V8_CODE_STUB_ASSEMBLER_H_ | 1297 #endif // V8_CODE_STUB_ASSEMBLER_H_ |
OLD | NEW |