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

Side by Side Diff: src/factory.h

Issue 2355033002: [modules] Add a requested_modules field to Module (Closed)
Patch Set: Handle review comments 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/api.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 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 } 468 }
469 469
470 void NewJSArrayStorage( 470 void NewJSArrayStorage(
471 Handle<JSArray> array, 471 Handle<JSArray> array,
472 int length, 472 int length,
473 int capacity, 473 int capacity,
474 ArrayStorageAllocationMode mode = DONT_INITIALIZE_ARRAY_ELEMENTS); 474 ArrayStorageAllocationMode mode = DONT_INITIALIZE_ARRAY_ELEMENTS);
475 475
476 Handle<JSGeneratorObject> NewJSGeneratorObject(Handle<JSFunction> function); 476 Handle<JSGeneratorObject> NewJSGeneratorObject(Handle<JSFunction> function);
477 477
478 Handle<Module> NewModule(Handle<SharedFunctionInfo> code, int min_size); 478 Handle<Module> NewModule(Handle<SharedFunctionInfo> code);
479 479
480 Handle<JSArrayBuffer> NewJSArrayBuffer( 480 Handle<JSArrayBuffer> NewJSArrayBuffer(
481 SharedFlag shared = SharedFlag::kNotShared, 481 SharedFlag shared = SharedFlag::kNotShared,
482 PretenureFlag pretenure = NOT_TENURED); 482 PretenureFlag pretenure = NOT_TENURED);
483 483
484 Handle<JSTypedArray> NewJSTypedArray(ExternalArrayType type, 484 Handle<JSTypedArray> NewJSTypedArray(ExternalArrayType type,
485 PretenureFlag pretenure = NOT_TENURED); 485 PretenureFlag pretenure = NOT_TENURED);
486 486
487 Handle<JSTypedArray> NewJSTypedArray(ElementsKind elements_kind, 487 Handle<JSTypedArray> NewJSTypedArray(ElementsKind elements_kind,
488 PretenureFlag pretenure = NOT_TENURED); 488 PretenureFlag pretenure = NOT_TENURED);
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 FunctionMode function_mode); 760 FunctionMode function_mode);
761 761
762 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, 762 void SetStrictFunctionInstanceDescriptor(Handle<Map> map,
763 FunctionMode function_mode); 763 FunctionMode function_mode);
764 }; 764 };
765 765
766 } // namespace internal 766 } // namespace internal
767 } // namespace v8 767 } // namespace v8
768 768
769 #endif // V8_FACTORY_H_ 769 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698