Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Side by Side Diff: src/code-stub-assembler.h

Issue 2573703002: Add PromiseReactionJobInfo to CSA (Closed)
Patch Set: fix test Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/code-stub-assembler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | src/code-stub-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698