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

Side by Side Diff: src/factory.h

Issue 2347933002: [modules] Introduce v8::Module to the API and return it from CompileModule (Closed)
Patch Set: Less maybe Created 4 years, 3 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/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 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 } 470 }
471 471
472 void NewJSArrayStorage( 472 void NewJSArrayStorage(
473 Handle<JSArray> array, 473 Handle<JSArray> array,
474 int length, 474 int length,
475 int capacity, 475 int capacity,
476 ArrayStorageAllocationMode mode = DONT_INITIALIZE_ARRAY_ELEMENTS); 476 ArrayStorageAllocationMode mode = DONT_INITIALIZE_ARRAY_ELEMENTS);
477 477
478 Handle<JSGeneratorObject> NewJSGeneratorObject(Handle<JSFunction> function); 478 Handle<JSGeneratorObject> NewJSGeneratorObject(Handle<JSFunction> function);
479 479
480 Handle<Module> NewModule(int min_size); 480 Handle<Module> NewModule(Handle<SharedFunctionInfo> code, int min_size);
481 481
482 Handle<JSArrayBuffer> NewJSArrayBuffer( 482 Handle<JSArrayBuffer> NewJSArrayBuffer(
483 SharedFlag shared = SharedFlag::kNotShared, 483 SharedFlag shared = SharedFlag::kNotShared,
484 PretenureFlag pretenure = NOT_TENURED); 484 PretenureFlag pretenure = NOT_TENURED);
485 485
486 Handle<JSTypedArray> NewJSTypedArray(ExternalArrayType type, 486 Handle<JSTypedArray> NewJSTypedArray(ExternalArrayType type,
487 PretenureFlag pretenure = NOT_TENURED); 487 PretenureFlag pretenure = NOT_TENURED);
488 488
489 Handle<JSTypedArray> NewJSTypedArray(ElementsKind elements_kind, 489 Handle<JSTypedArray> NewJSTypedArray(ElementsKind elements_kind,
490 PretenureFlag pretenure = NOT_TENURED); 490 PretenureFlag pretenure = NOT_TENURED);
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
762 FunctionMode function_mode); 762 FunctionMode function_mode);
763 763
764 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, 764 void SetStrictFunctionInstanceDescriptor(Handle<Map> map,
765 FunctionMode function_mode); 765 FunctionMode function_mode);
766 }; 766 };
767 767
768 } // namespace internal 768 } // namespace internal
769 } // namespace v8 769 } // namespace v8
770 770
771 #endif // V8_FACTORY_H_ 771 #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