| 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 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 Handle<FixedTypedArrayBase> NewFixedTypedArray( | 288 Handle<FixedTypedArrayBase> NewFixedTypedArray( |
| 289 int length, ExternalArrayType array_type, bool initialize, | 289 int length, ExternalArrayType array_type, bool initialize, |
| 290 PretenureFlag pretenure = NOT_TENURED); | 290 PretenureFlag pretenure = NOT_TENURED); |
| 291 | 291 |
| 292 Handle<Cell> NewCell(Handle<Object> value); | 292 Handle<Cell> NewCell(Handle<Object> value); |
| 293 | 293 |
| 294 Handle<PropertyCell> NewPropertyCell(); | 294 Handle<PropertyCell> NewPropertyCell(); |
| 295 | 295 |
| 296 Handle<WeakCell> NewWeakCell(Handle<HeapObject> value); | 296 Handle<WeakCell> NewWeakCell(Handle<HeapObject> value); |
| 297 | 297 |
| 298 Handle<TransitionArray> NewTransitionArray(int capacity); |
| 299 |
| 298 // Allocate a tenured AllocationSite. It's payload is null. | 300 // Allocate a tenured AllocationSite. It's payload is null. |
| 299 Handle<AllocationSite> NewAllocationSite(); | 301 Handle<AllocationSite> NewAllocationSite(); |
| 300 | 302 |
| 301 Handle<Map> NewMap( | 303 Handle<Map> NewMap( |
| 302 InstanceType type, | 304 InstanceType type, |
| 303 int instance_size, | 305 int instance_size, |
| 304 ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND); | 306 ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND); |
| 305 | 307 |
| 306 Handle<HeapObject> NewFillerObject(int size, | 308 Handle<HeapObject> NewFillerObject(int size, |
| 307 bool double_align, | 309 bool double_align, |
| (...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 703 | 705 |
| 704 Handle<JSFunction> NewFunction(Handle<Map> map, | 706 Handle<JSFunction> NewFunction(Handle<Map> map, |
| 705 Handle<String> name, | 707 Handle<String> name, |
| 706 MaybeHandle<Code> maybe_code); | 708 MaybeHandle<Code> maybe_code); |
| 707 }; | 709 }; |
| 708 | 710 |
| 709 } // namespace internal | 711 } // namespace internal |
| 710 } // namespace v8 | 712 } // namespace v8 |
| 711 | 713 |
| 712 #endif // V8_FACTORY_H_ | 714 #endif // V8_FACTORY_H_ |
| OLD | NEW |