| 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 1131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1142 | 1142 |
| 1143 Node* ElementOffsetFromIndex(Node* index, ElementsKind kind, | 1143 Node* ElementOffsetFromIndex(Node* index, ElementsKind kind, |
| 1144 ParameterMode mode, int base_size = 0); | 1144 ParameterMode mode, int base_size = 0); |
| 1145 | 1145 |
| 1146 Node* AllocateFunctionWithMapAndContext(Node* map, Node* shared_info, | 1146 Node* AllocateFunctionWithMapAndContext(Node* map, Node* shared_info, |
| 1147 Node* context); | 1147 Node* context); |
| 1148 | 1148 |
| 1149 // Promise helpers | 1149 // Promise helpers |
| 1150 Node* IsPromiseHookEnabled(); | 1150 Node* IsPromiseHookEnabled(); |
| 1151 | 1151 |
| 1152 Node* AllocatePromiseReactionJobInfo(Node* promise, Node* value, Node* tasks, | 1152 Node* AllocatePromiseReactionJobInfo(Node* value, Node* tasks, |
| 1153 Node* deferred_promise, | 1153 Node* deferred_promise, |
| 1154 Node* deferred_on_resolve, | 1154 Node* deferred_on_resolve, |
| 1155 Node* deferred_on_reject, Node* context); | 1155 Node* deferred_on_reject, Node* context); |
| 1156 | 1156 |
| 1157 protected: | 1157 protected: |
| 1158 void DescriptorLookupLinear(Node* unique_name, Node* descriptors, Node* nof, | 1158 void DescriptorLookupLinear(Node* unique_name, Node* descriptors, Node* nof, |
| 1159 Label* if_found, Variable* var_name_index, | 1159 Label* if_found, Variable* var_name_index, |
| 1160 Label* if_not_found); | 1160 Label* if_not_found); |
| 1161 | 1161 |
| 1162 Node* CallGetterIfAccessor(Node* value, Node* details, Node* context, | 1162 Node* CallGetterIfAccessor(Node* value, Node* details, Node* context, |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1273 } | 1273 } |
| 1274 #else | 1274 #else |
| 1275 #define CSA_SLOW_ASSERT(csa, x) ((void)0) | 1275 #define CSA_SLOW_ASSERT(csa, x) ((void)0) |
| 1276 #endif | 1276 #endif |
| 1277 | 1277 |
| 1278 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); | 1278 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); |
| 1279 | 1279 |
| 1280 } // namespace internal | 1280 } // namespace internal |
| 1281 } // namespace v8 | 1281 } // namespace v8 |
| 1282 #endif // V8_CODE_STUB_ASSEMBLER_H_ | 1282 #endif // V8_CODE_STUB_ASSEMBLER_H_ |
| OLD | NEW |