| 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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 Handle<Map> CopyMapDropTransitions(Handle<Map> map); | 226 Handle<Map> CopyMapDropTransitions(Handle<Map> map); |
| 227 | 227 |
| 228 Handle<Map> GetElementsTransitionMap(Handle<JSObject> object, | 228 Handle<Map> GetElementsTransitionMap(Handle<JSObject> object, |
| 229 ElementsKind elements_kind); | 229 ElementsKind elements_kind); |
| 230 | 230 |
| 231 Handle<FixedArray> CopyFixedArray(Handle<FixedArray> array); | 231 Handle<FixedArray> CopyFixedArray(Handle<FixedArray> array); |
| 232 | 232 |
| 233 Handle<FixedDoubleArray> CopyFixedDoubleArray( | 233 Handle<FixedDoubleArray> CopyFixedDoubleArray( |
| 234 Handle<FixedDoubleArray> array); | 234 Handle<FixedDoubleArray> array); |
| 235 | 235 |
| 236 // Numbers (eg, literals) are pretenured by the parser. | 236 // Numbers (e.g. literals) are pretenured by the parser. |
| 237 Handle<Object> NewNumber(double value, | 237 Handle<Object> NewNumber(double value, |
| 238 PretenureFlag pretenure = NOT_TENURED); | 238 PretenureFlag pretenure = NOT_TENURED); |
| 239 | 239 |
| 240 Handle<Object> NewNumberFromInt(int32_t value, | 240 Handle<Object> NewNumberFromInt(int32_t value, |
| 241 PretenureFlag pretenure = NOT_TENURED); | 241 PretenureFlag pretenure = NOT_TENURED); |
| 242 Handle<Object> NewNumberFromUint(uint32_t value, | 242 Handle<Object> NewNumberFromUint(uint32_t value, |
| 243 PretenureFlag pretenure = NOT_TENURED); | 243 PretenureFlag pretenure = NOT_TENURED); |
| 244 | 244 |
| 245 // These objects are used by the api to create env-independent data | 245 // These objects are used by the api to create env-independent data |
| 246 // structures in the heap. | 246 // structures in the heap. |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 499 // Update the map cache in the global context with (keys, map) | 499 // Update the map cache in the global context with (keys, map) |
| 500 Handle<MapCache> AddToMapCache(Handle<Context> context, | 500 Handle<MapCache> AddToMapCache(Handle<Context> context, |
| 501 Handle<FixedArray> keys, | 501 Handle<FixedArray> keys, |
| 502 Handle<Map> map); | 502 Handle<Map> map); |
| 503 }; | 503 }; |
| 504 | 504 |
| 505 | 505 |
| 506 } } // namespace v8::internal | 506 } } // namespace v8::internal |
| 507 | 507 |
| 508 #endif // V8_FACTORY_H_ | 508 #endif // V8_FACTORY_H_ |
| OLD | NEW |