| 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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> CopyWithPreallocatedFieldDescriptors(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 Handle<Map> CopyMap(Handle<Map> map); |
| 231 Handle<Map> CopyMapDropTransitions(Handle<Map> map); | |
| 232 | 231 |
| 233 Handle<Map> GetElementsTransitionMap(Handle<JSObject> object, | 232 Handle<Map> GetElementsTransitionMap(Handle<JSObject> object, |
| 234 ElementsKind elements_kind); | 233 ElementsKind elements_kind); |
| 235 | 234 |
| 236 Handle<FixedArray> CopyFixedArray(Handle<FixedArray> array); | 235 Handle<FixedArray> CopyFixedArray(Handle<FixedArray> array); |
| 237 | 236 |
| 238 Handle<FixedDoubleArray> CopyFixedDoubleArray( | 237 Handle<FixedDoubleArray> CopyFixedDoubleArray( |
| 239 Handle<FixedDoubleArray> array); | 238 Handle<FixedDoubleArray> array); |
| 240 | 239 |
| 241 // Numbers (e.g. literals) are pretenured by the parser. | 240 // Numbers (e.g. literals) are pretenured by the parser. |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 513 // Update the map cache in the global context with (keys, map) | 512 // Update the map cache in the global context with (keys, map) |
| 514 Handle<MapCache> AddToMapCache(Handle<Context> context, | 513 Handle<MapCache> AddToMapCache(Handle<Context> context, |
| 515 Handle<FixedArray> keys, | 514 Handle<FixedArray> keys, |
| 516 Handle<Map> map); | 515 Handle<Map> map); |
| 517 }; | 516 }; |
| 518 | 517 |
| 519 | 518 |
| 520 } } // namespace v8::internal | 519 } } // namespace v8::internal |
| 521 | 520 |
| 522 #endif // V8_FACTORY_H_ | 521 #endif // V8_FACTORY_H_ |
| OLD | NEW |