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

Side by Side Diff: src/factory.h

Issue 2703563002: [ESNext] Implement DynamicImportCall (Closed)
Patch Set: rebase Created 3 years, 8 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/d8.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/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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 const ExternalTwoByteString::Resource* resource); 259 const ExternalTwoByteString::Resource* resource);
260 // Create a new external string object for one-byte encoded native script. 260 // Create a new external string object for one-byte encoded native script.
261 // It does not cache the resource data pointer. 261 // It does not cache the resource data pointer.
262 Handle<ExternalOneByteString> NewNativeSourceString( 262 Handle<ExternalOneByteString> NewNativeSourceString(
263 const ExternalOneByteString::Resource* resource); 263 const ExternalOneByteString::Resource* resource);
264 264
265 // Create a symbol. 265 // Create a symbol.
266 Handle<Symbol> NewSymbol(); 266 Handle<Symbol> NewSymbol();
267 Handle<Symbol> NewPrivateSymbol(); 267 Handle<Symbol> NewPrivateSymbol();
268 268
269 // Create a promise.
270 Handle<JSPromise> NewJSPromise();
271
269 // Create a global (but otherwise uninitialized) context. 272 // Create a global (but otherwise uninitialized) context.
270 Handle<Context> NewNativeContext(); 273 Handle<Context> NewNativeContext();
271 274
272 // Create a script context. 275 // Create a script context.
273 Handle<Context> NewScriptContext(Handle<JSFunction> function, 276 Handle<Context> NewScriptContext(Handle<JSFunction> function,
274 Handle<ScopeInfo> scope_info); 277 Handle<ScopeInfo> scope_info);
275 278
276 // Create an empty script context table. 279 // Create an empty script context table.
277 Handle<ScriptContextTable> NewScriptContextTable(); 280 Handle<ScriptContextTable> NewScriptContextTable();
278 281
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after
830 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, 833 void SetStrictFunctionInstanceDescriptor(Handle<Map> map,
831 FunctionMode function_mode); 834 FunctionMode function_mode);
832 835
833 void SetClassFunctionInstanceDescriptor(Handle<Map> map); 836 void SetClassFunctionInstanceDescriptor(Handle<Map> map);
834 }; 837 };
835 838
836 } // namespace internal 839 } // namespace internal
837 } // namespace v8 840 } // namespace v8
838 841
839 #endif // V8_FACTORY_H_ 842 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/d8.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698