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

Side by Side Diff: src/builtins/builtins-promise.h

Issue 2635353002: [builtins] introduce AsyncBuiltinsAssembler for ES2016 features and beyond (Closed)
Patch Set: add some comments to make it easier to read the code Created 3 years, 11 months 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
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_BUILTINS_BUILTINS_PROMISE_H_
6 #define V8_BUILTINS_BUILTINS_PROMISE_H_
7
5 #include "src/code-stub-assembler.h" 8 #include "src/code-stub-assembler.h"
6 #include "src/contexts.h" 9 #include "src/contexts.h"
7 10
8 namespace v8 { 11 namespace v8 {
9 namespace internal { 12 namespace internal {
10 13
11 typedef compiler::Node Node; 14 typedef compiler::Node Node;
12 typedef CodeStubAssembler::ParameterMode ParameterMode; 15 typedef CodeStubAssembler::ParameterMode ParameterMode;
13 typedef compiler::CodeAssemblerState CodeAssemblerState; 16 typedef compiler::CodeAssemblerState CodeAssemblerState;
14 17
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 bool debug_event); 114 bool debug_event);
112 void InternalPromiseReject(Node* context, Node* promise, Node* value, 115 void InternalPromiseReject(Node* context, Node* promise, Node* value,
113 Node* debug_event); 116 Node* debug_event);
114 117
115 private: 118 private:
116 Node* AllocateJSPromise(Node* context); 119 Node* AllocateJSPromise(Node* context);
117 }; 120 };
118 121
119 } // namespace internal 122 } // namespace internal
120 } // namespace v8 123 } // namespace v8
124
125 #endif // V8_BUILTINS_BUILTINS_PROMISE_H_
OLDNEW
« src/builtins/builtins-async.cc ('K') | « src/builtins/builtins-async.cc ('k') | src/v8.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698