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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 Handle<JSGlobalPropertyCell> NewJSGlobalPropertyCell( | 215 Handle<JSGlobalPropertyCell> NewJSGlobalPropertyCell( |
216 Handle<Object> value); | 216 Handle<Object> value); |
217 | 217 |
218 Handle<Map> NewMap( | 218 Handle<Map> NewMap( |
219 InstanceType type, | 219 InstanceType type, |
220 int instance_size, | 220 int instance_size, |
221 ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND); | 221 ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND); |
222 | 222 |
223 Handle<JSObject> NewFunctionPrototype(Handle<JSFunction> function); | 223 Handle<JSObject> NewFunctionPrototype(Handle<JSFunction> function); |
224 | 224 |
225 Handle<Map> CopyMapDropDescriptors(Handle<Map> map); | 225 Handle<Map> CopyWithPreallocatedFieldDescriptors(Handle<Map> map); |
226 | 226 |
227 // Copy the map adding more inobject properties if possible without | 227 // Copy the map adding more inobject properties if possible without |
228 // overflowing the instance size. | 228 // overflowing the instance size. |
229 Handle<Map> CopyMap(Handle<Map> map, int extra_inobject_props); | 229 Handle<Map> CopyMap(Handle<Map> map, int extra_inobject_props); |
230 | 230 |
231 Handle<Map> CopyMapDropTransitions(Handle<Map> map); | 231 Handle<Map> CopyMapDropTransitions(Handle<Map> map); |
232 | 232 |
233 Handle<Map> GetElementsTransitionMap(Handle<JSObject> object, | 233 Handle<Map> GetElementsTransitionMap(Handle<JSObject> object, |
234 ElementsKind elements_kind); | 234 ElementsKind elements_kind); |
235 | 235 |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
513 // Update the map cache in the global context with (keys, map) | 513 // Update the map cache in the global context with (keys, map) |
514 Handle<MapCache> AddToMapCache(Handle<Context> context, | 514 Handle<MapCache> AddToMapCache(Handle<Context> context, |
515 Handle<FixedArray> keys, | 515 Handle<FixedArray> keys, |
516 Handle<Map> map); | 516 Handle<Map> map); |
517 }; | 517 }; |
518 | 518 |
519 | 519 |
520 } } // namespace v8::internal | 520 } } // namespace v8::internal |
521 | 521 |
522 #endif // V8_FACTORY_H_ | 522 #endif // V8_FACTORY_H_ |
OLD | NEW |