| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |