OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 | 254 |
255 Handle<AllocationSite> NewAllocationSite(); | 255 Handle<AllocationSite> NewAllocationSite(); |
256 | 256 |
257 Handle<Map> NewMap( | 257 Handle<Map> NewMap( |
258 InstanceType type, | 258 InstanceType type, |
259 int instance_size, | 259 int instance_size, |
260 ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND); | 260 ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND); |
261 | 261 |
262 Handle<JSObject> NewFunctionPrototype(Handle<JSFunction> function); | 262 Handle<JSObject> NewFunctionPrototype(Handle<JSFunction> function); |
263 | 263 |
264 Handle<Map> NewInitialMap(Handle<JSFunction> function); | |
265 | |
266 Handle<Map> CopyWithPreallocatedFieldDescriptors(Handle<Map> map); | 264 Handle<Map> CopyWithPreallocatedFieldDescriptors(Handle<Map> map); |
267 | 265 |
268 // Copy the map adding more inobject properties if possible without | 266 // Copy the map adding more inobject properties if possible without |
269 // overflowing the instance size. | 267 // overflowing the instance size. |
270 Handle<Map> CopyMap(Handle<Map> map, int extra_inobject_props); | 268 Handle<Map> CopyMap(Handle<Map> map, int extra_inobject_props); |
271 Handle<Map> CopyMap(Handle<Map> map); | 269 Handle<Map> CopyMap(Handle<Map> map); |
272 | 270 |
273 Handle<Map> GetElementsTransitionMap(Handle<JSObject> object, | 271 Handle<Map> GetElementsTransitionMap(Handle<JSObject> object, |
274 ElementsKind elements_kind); | 272 ElementsKind elements_kind); |
275 | 273 |
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
678 } | 676 } |
679 | 677 |
680 private: | 678 private: |
681 Isolate* isolate_; | 679 Isolate* isolate_; |
682 }; | 680 }; |
683 | 681 |
684 | 682 |
685 } } // namespace v8::internal | 683 } } // namespace v8::internal |
686 | 684 |
687 #endif // V8_FACTORY_H_ | 685 #endif // V8_FACTORY_H_ |
OLD | NEW |