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

Side by Side Diff: src/factory.h

Issue 2703563002: [ESNext] Implement DynamicImportCall (Closed)
Patch Set: use function_closure Created 3 years, 9 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 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/feedback-vector.h" 8 #include "src/feedback-vector.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 #include "src/isolate.h" 10 #include "src/isolate.h"
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 const ExternalTwoByteString::Resource* resource); 282 const ExternalTwoByteString::Resource* resource);
283 // Create a new external string object for one-byte encoded native script. 283 // Create a new external string object for one-byte encoded native script.
284 // It does not cache the resource data pointer. 284 // It does not cache the resource data pointer.
285 Handle<ExternalOneByteString> NewNativeSourceString( 285 Handle<ExternalOneByteString> NewNativeSourceString(
286 const ExternalOneByteString::Resource* resource); 286 const ExternalOneByteString::Resource* resource);
287 287
288 // Create a symbol. 288 // Create a symbol.
289 Handle<Symbol> NewSymbol(); 289 Handle<Symbol> NewSymbol();
290 Handle<Symbol> NewPrivateSymbol(); 290 Handle<Symbol> NewPrivateSymbol();
291 291
292 // Create a promise.
293 Handle<JSPromise> NewJSPromise();
294
292 // Create a global (but otherwise uninitialized) context. 295 // Create a global (but otherwise uninitialized) context.
293 Handle<Context> NewNativeContext(); 296 Handle<Context> NewNativeContext();
294 297
295 // Create a script context. 298 // Create a script context.
296 Handle<Context> NewScriptContext(Handle<JSFunction> function, 299 Handle<Context> NewScriptContext(Handle<JSFunction> function,
297 Handle<ScopeInfo> scope_info); 300 Handle<ScopeInfo> scope_info);
298 301
299 // Create an empty script context table. 302 // Create an empty script context table.
300 Handle<ScriptContextTable> NewScriptContextTable(); 303 Handle<ScriptContextTable> NewScriptContextTable();
301 304
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
845 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, 848 void SetStrictFunctionInstanceDescriptor(Handle<Map> map,
846 FunctionMode function_mode); 849 FunctionMode function_mode);
847 850
848 void SetClassFunctionInstanceDescriptor(Handle<Map> map); 851 void SetClassFunctionInstanceDescriptor(Handle<Map> map);
849 }; 852 };
850 853
851 } // namespace internal 854 } // namespace internal
852 } // namespace v8 855 } // namespace v8
853 856
854 #endif // V8_FACTORY_H_ 857 #endif // V8_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698