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

Side by Side Diff: src/factory.h

Issue 2590563003: [promises] Remove deferred object (Closed)
Patch Set: rebase 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
« no previous file with comments | « src/code-stub-assembler.cc ('k') | src/factory.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_FACTORY_H_ 5 #ifndef V8_FACTORY_H_
6 #define V8_FACTORY_H_ 6 #define V8_FACTORY_H_
7 7
8 #include "src/globals.h" 8 #include "src/globals.h"
9 #include "src/isolate.h" 9 #include "src/isolate.h"
10 #include "src/messages.h" 10 #include "src/messages.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 Handle<OrderedHashSet> NewOrderedHashSet(); 66 Handle<OrderedHashSet> NewOrderedHashSet();
67 Handle<OrderedHashMap> NewOrderedHashMap(); 67 Handle<OrderedHashMap> NewOrderedHashMap();
68 68
69 // Create a new boxed value. 69 // Create a new boxed value.
70 Handle<Box> NewBox(Handle<Object> value); 70 Handle<Box> NewBox(Handle<Object> value);
71 71
72 // Create a new PromiseReactionJobInfo struct. 72 // Create a new PromiseReactionJobInfo struct.
73 Handle<PromiseReactionJobInfo> NewPromiseReactionJobInfo( 73 Handle<PromiseReactionJobInfo> NewPromiseReactionJobInfo(
74 Handle<JSPromise> promise, Handle<Object> value, Handle<Object> tasks, 74 Handle<JSPromise> promise, Handle<Object> value, Handle<Object> tasks,
75 Handle<Object> deferred, Handle<Object> debug_id, 75 Handle<Object> deferred_promise, Handle<Object> deferred_on_resolve,
76 Handle<Object> debug_name, Handle<Context> context); 76 Handle<Object> deferred_on_reject, Handle<Context> context);
77 77
78 // Create a new PromiseResolveThenableJobInfo struct. 78 // Create a new PromiseResolveThenableJobInfo struct.
79 Handle<PromiseResolveThenableJobInfo> NewPromiseResolveThenableJobInfo( 79 Handle<PromiseResolveThenableJobInfo> NewPromiseResolveThenableJobInfo(
80 Handle<JSReceiver> thenable, Handle<JSReceiver> then, 80 Handle<JSReceiver> thenable, Handle<JSReceiver> then,
81 Handle<JSFunction> resolve, Handle<JSFunction> reject, 81 Handle<JSFunction> resolve, Handle<JSFunction> reject,
82 Handle<Object> debug_id, Handle<Object> debug_name, 82 Handle<Object> debug_id, Handle<Object> debug_name,
83 Handle<Context> context); 83 Handle<Context> context);
84 84
85 // Create a new PrototypeInfo struct. 85 // Create a new PrototypeInfo struct.
86 Handle<PrototypeInfo> NewPrototypeInfo(); 86 Handle<PrototypeInfo> NewPrototypeInfo();
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after
809 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, 809 void SetStrictFunctionInstanceDescriptor(Handle<Map> map,
810 FunctionMode function_mode); 810 FunctionMode function_mode);
811 811
812 void SetClassFunctionInstanceDescriptor(Handle<Map> map); 812 void SetClassFunctionInstanceDescriptor(Handle<Map> map);
813 }; 813 };
814 814
815 } // namespace internal 815 } // namespace internal
816 } // namespace v8 816 } // namespace v8
817 817
818 #endif // V8_FACTORY_H_ 818 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/code-stub-assembler.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698