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

Side by Side Diff: src/factory.h

Issue 2388153003: [modules] Implement namespace imports. (Closed)
Patch Set: Add comment on VisitModuleNamespaceImports. 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/contexts.h ('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 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 } 479 }
480 480
481 void NewJSArrayStorage( 481 void NewJSArrayStorage(
482 Handle<JSArray> array, 482 Handle<JSArray> array,
483 int length, 483 int length,
484 int capacity, 484 int capacity,
485 ArrayStorageAllocationMode mode = DONT_INITIALIZE_ARRAY_ELEMENTS); 485 ArrayStorageAllocationMode mode = DONT_INITIALIZE_ARRAY_ELEMENTS);
486 486
487 Handle<JSGeneratorObject> NewJSGeneratorObject(Handle<JSFunction> function); 487 Handle<JSGeneratorObject> NewJSGeneratorObject(Handle<JSFunction> function);
488 488
489 Handle<JSModuleNamespace> NewJSModuleNamespace();
490
489 Handle<Module> NewModule(Handle<SharedFunctionInfo> code); 491 Handle<Module> NewModule(Handle<SharedFunctionInfo> code);
490 492
491 Handle<JSArrayBuffer> NewJSArrayBuffer( 493 Handle<JSArrayBuffer> NewJSArrayBuffer(
492 SharedFlag shared = SharedFlag::kNotShared, 494 SharedFlag shared = SharedFlag::kNotShared,
493 PretenureFlag pretenure = NOT_TENURED); 495 PretenureFlag pretenure = NOT_TENURED);
494 496
495 Handle<JSTypedArray> NewJSTypedArray(ExternalArrayType type, 497 Handle<JSTypedArray> NewJSTypedArray(ExternalArrayType type,
496 PretenureFlag pretenure = NOT_TENURED); 498 PretenureFlag pretenure = NOT_TENURED);
497 499
498 Handle<JSTypedArray> NewJSTypedArray(ElementsKind elements_kind, 500 Handle<JSTypedArray> NewJSTypedArray(ElementsKind elements_kind,
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
771 FunctionMode function_mode); 773 FunctionMode function_mode);
772 774
773 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, 775 void SetStrictFunctionInstanceDescriptor(Handle<Map> map,
774 FunctionMode function_mode); 776 FunctionMode function_mode);
775 }; 777 };
776 778
777 } // namespace internal 779 } // namespace internal
778 } // namespace v8 780 } // namespace v8
779 781
780 #endif // V8_FACTORY_H_ 782 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/contexts.h ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698