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

Side by Side Diff: src/factory.h

Issue 2633443002: [promisehook] Pass deferred promise to Before/After callback (Closed)
Patch Set: Remove adaptor 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 PretenureFlag pretenure = NOT_TENURED); 64 PretenureFlag pretenure = NOT_TENURED);
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<Object> value, Handle<Object> tasks,
75 Handle<Object> deferred_promise, Handle<Object> deferred_on_resolve, 75 Handle<Object> deferred_promise, Handle<Object> deferred_on_resolve,
76 Handle<Object> deferred_on_reject, Handle<Context> context); 76 Handle<Object> deferred_on_reject, Handle<Context> context);
77 77
78 // Create a new PrototypeInfo struct. 78 // Create a new PrototypeInfo struct.
79 Handle<PrototypeInfo> NewPrototypeInfo(); 79 Handle<PrototypeInfo> NewPrototypeInfo();
80 80
81 // Create a new Tuple2 struct. 81 // Create a new Tuple2 struct.
82 Handle<Tuple2> NewTuple2(Handle<Object> value1, Handle<Object> value2); 82 Handle<Tuple2> NewTuple2(Handle<Object> value1, Handle<Object> value2);
83 83
84 // Create a new Tuple3 struct. 84 // Create a new Tuple3 struct.
(...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after
816 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, 816 void SetStrictFunctionInstanceDescriptor(Handle<Map> map,
817 FunctionMode function_mode); 817 FunctionMode function_mode);
818 818
819 void SetClassFunctionInstanceDescriptor(Handle<Map> map); 819 void SetClassFunctionInstanceDescriptor(Handle<Map> map);
820 }; 820 };
821 821
822 } // namespace internal 822 } // namespace internal
823 } // namespace v8 823 } // namespace v8
824 824
825 #endif // V8_FACTORY_H_ 825 #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