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

Side by Side Diff: src/factory.h

Issue 2415023002: [promises] Move async debug event creation to c++ (Closed)
Patch Set: rebase Created 4 years, 2 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/debug/debug.js ('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/isolate.h" 8 #include "src/isolate.h"
9 #include "src/messages.h" 9 #include "src/messages.h"
10 #include "src/type-feedback-vector.h" 10 #include "src/type-feedback-vector.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 Handle<OrderedHashSet> NewOrderedHashSet(); 57 Handle<OrderedHashSet> NewOrderedHashSet();
58 Handle<OrderedHashMap> NewOrderedHashMap(); 58 Handle<OrderedHashMap> NewOrderedHashMap();
59 59
60 // Create a new boxed value. 60 // Create a new boxed value.
61 Handle<Box> NewBox(Handle<Object> value); 61 Handle<Box> NewBox(Handle<Object> value);
62 62
63 // Create a new PromiseReactionJobInfo struct. 63 // Create a new PromiseReactionJobInfo struct.
64 Handle<PromiseReactionJobInfo> NewPromiseReactionJobInfo( 64 Handle<PromiseReactionJobInfo> NewPromiseReactionJobInfo(
65 Handle<Object> value, Handle<Object> tasks, Handle<Object> deferred, 65 Handle<Object> value, Handle<Object> tasks, Handle<Object> deferred,
66 Handle<Object> before_debug, Handle<Object> after_debug_event, 66 Handle<Object> debug_id, Handle<Object> debug_name,
67 Handle<Context> context); 67 Handle<Context> context);
68 68
69 // Create a new PromiseResolveThenableJobInfo struct. 69 // Create a new PromiseResolveThenableJobInfo struct.
70 Handle<PromiseResolveThenableJobInfo> NewPromiseResolveThenableJobInfo( 70 Handle<PromiseResolveThenableJobInfo> NewPromiseResolveThenableJobInfo(
71 Handle<JSReceiver> thenable, Handle<JSReceiver> then, 71 Handle<JSReceiver> thenable, Handle<JSReceiver> then,
72 Handle<JSFunction> resolve, Handle<JSFunction> reject, 72 Handle<JSFunction> resolve, Handle<JSFunction> reject,
73 Handle<Object> before_debug_event, Handle<Object> after_debug_event); 73 Handle<Object> debug_id, Handle<Object> debug_name);
74 74
75 // Create a new PrototypeInfo struct. 75 // Create a new PrototypeInfo struct.
76 Handle<PrototypeInfo> NewPrototypeInfo(); 76 Handle<PrototypeInfo> NewPrototypeInfo();
77 77
78 // Create a new Tuple3 struct. 78 // Create a new Tuple3 struct.
79 Handle<Tuple3> NewTuple3(Handle<Object> value1, Handle<Object> value2, 79 Handle<Tuple3> NewTuple3(Handle<Object> value1, Handle<Object> value2,
80 Handle<Object> value3); 80 Handle<Object> value3);
81 81
82 // Create a new ContextExtension struct. 82 // Create a new ContextExtension struct.
83 Handle<ContextExtension> NewContextExtension(Handle<ScopeInfo> scope_info, 83 Handle<ContextExtension> NewContextExtension(Handle<ScopeInfo> scope_info,
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after
790 FunctionMode function_mode); 790 FunctionMode function_mode);
791 791
792 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, 792 void SetStrictFunctionInstanceDescriptor(Handle<Map> map,
793 FunctionMode function_mode); 793 FunctionMode function_mode);
794 }; 794 };
795 795
796 } // namespace internal 796 } // namespace internal
797 } // namespace v8 797 } // namespace v8
798 798
799 #endif // V8_FACTORY_H_ 799 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/debug/debug.js ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698