| 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 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1082 // Promise helpers | 1082 // Promise helpers |
| 1083 Node* IsPromiseHookEnabled(); | 1083 Node* IsPromiseHookEnabled(); |
| 1084 | 1084 |
| 1085 Node* AllocateJSPromise(Node* context); | 1085 Node* AllocateJSPromise(Node* context); |
| 1086 void PromiseInit(Node* promise); | 1086 void PromiseInit(Node* promise); |
| 1087 | 1087 |
| 1088 // Other promise fields may also be need to set/reset. This only | 1088 // Other promise fields may also be need to set/reset. This only |
| 1089 // provides a helper for certain init patterns. | 1089 // provides a helper for certain init patterns. |
| 1090 void PromiseSet(Node* promise, Node* status, Node* result); | 1090 void PromiseSet(Node* promise, Node* status, Node* result); |
| 1091 | 1091 |
| 1092 Node* AllocatePromiseReactionJobInfo(Node* value, Node* tasks, Node* deferred, |
| 1093 Node* context); |
| 1094 |
| 1092 protected: | 1095 protected: |
| 1093 void DescriptorLookupLinear(Node* unique_name, Node* descriptors, Node* nof, | 1096 void DescriptorLookupLinear(Node* unique_name, Node* descriptors, Node* nof, |
| 1094 Label* if_found, Variable* var_name_index, | 1097 Label* if_found, Variable* var_name_index, |
| 1095 Label* if_not_found); | 1098 Label* if_not_found); |
| 1096 | 1099 |
| 1097 Node* CallGetterIfAccessor(Node* value, Node* details, Node* context, | 1100 Node* CallGetterIfAccessor(Node* value, Node* details, Node* context, |
| 1098 Node* receiver, Label* if_bailout); | 1101 Node* receiver, Label* if_bailout); |
| 1099 | 1102 |
| 1100 Node* TryToIntptr(Node* key, Label* miss); | 1103 Node* TryToIntptr(Node* key, Label* miss); |
| 1101 | 1104 |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1193 } | 1196 } |
| 1194 #else | 1197 #else |
| 1195 #define CSA_SLOW_ASSERT(csa, x) ((void)0) | 1198 #define CSA_SLOW_ASSERT(csa, x) ((void)0) |
| 1196 #endif | 1199 #endif |
| 1197 | 1200 |
| 1198 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); | 1201 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); |
| 1199 | 1202 |
| 1200 } // namespace internal | 1203 } // namespace internal |
| 1201 } // namespace v8 | 1204 } // namespace v8 |
| 1202 #endif // V8_CODE_STUB_ASSEMBLER_H_ | 1205 #endif // V8_CODE_STUB_ASSEMBLER_H_ |
| OLD | NEW |