OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 // Copy the map adding more inobject properties if possible without | 212 // Copy the map adding more inobject properties if possible without |
213 // overflowing the instance size. | 213 // overflowing the instance size. |
214 Handle<Map> CopyMap(Handle<Map> map, int extra_inobject_props); | 214 Handle<Map> CopyMap(Handle<Map> map, int extra_inobject_props); |
215 | 215 |
216 Handle<Map> CopyMapDropTransitions(Handle<Map> map); | 216 Handle<Map> CopyMapDropTransitions(Handle<Map> map); |
217 | 217 |
218 Handle<Map> GetFastElementsMap(Handle<Map> map); | 218 Handle<Map> GetFastElementsMap(Handle<Map> map); |
219 | 219 |
220 Handle<Map> GetSlowElementsMap(Handle<Map> map); | 220 Handle<Map> GetSlowElementsMap(Handle<Map> map); |
221 | 221 |
222 Handle<Map> GetExternalArrayElementsMap(Handle<Map> map, | 222 Handle<Map> GetElementsTransitionMap(Handle<Map> map, |
223 ExternalArrayType array_type, | 223 ElementsKind elements_kind, |
224 bool safe_to_add_transition); | 224 bool safe_to_add_transition); |
225 | 225 |
226 Handle<FixedArray> CopyFixedArray(Handle<FixedArray> array); | 226 Handle<FixedArray> CopyFixedArray(Handle<FixedArray> array); |
227 | 227 |
228 // Numbers (eg, literals) are pretenured by the parser. | 228 // Numbers (eg, literals) are pretenured by the parser. |
229 Handle<Object> NewNumber(double value, | 229 Handle<Object> NewNumber(double value, |
230 PretenureFlag pretenure = NOT_TENURED); | 230 PretenureFlag pretenure = NOT_TENURED); |
231 | 231 |
232 Handle<Object> NewNumberFromInt(int value); | 232 Handle<Object> NewNumberFromInt(int value); |
233 Handle<Object> NewNumberFromUint(uint32_t value); | 233 Handle<Object> NewNumberFromUint(uint32_t value); |
234 | 234 |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
461 // Update the map cache in the global context with (keys, map) | 461 // Update the map cache in the global context with (keys, map) |
462 Handle<MapCache> AddToMapCache(Handle<Context> context, | 462 Handle<MapCache> AddToMapCache(Handle<Context> context, |
463 Handle<FixedArray> keys, | 463 Handle<FixedArray> keys, |
464 Handle<Map> map); | 464 Handle<Map> map); |
465 }; | 465 }; |
466 | 466 |
467 | 467 |
468 } } // namespace v8::internal | 468 } } // namespace v8::internal |
469 | 469 |
470 #endif // V8_FACTORY_H_ | 470 #endif // V8_FACTORY_H_ |
OLD | NEW |