| 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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 int length); | 306 int length); |
| 307 | 307 |
| 308 void SetContent(Handle<JSArray> array, Handle<FixedArrayBase> elements); | 308 void SetContent(Handle<JSArray> array, Handle<FixedArrayBase> elements); |
| 309 | 309 |
| 310 void EnsureCanContainHeapObjectElements(Handle<JSArray> array); | 310 void EnsureCanContainHeapObjectElements(Handle<JSArray> array); |
| 311 void EnsureCanContainElements(Handle<JSArray> array, | 311 void EnsureCanContainElements(Handle<JSArray> array, |
| 312 Handle<FixedArrayBase> elements, | 312 Handle<FixedArrayBase> elements, |
| 313 uint32_t length, | 313 uint32_t length, |
| 314 EnsureElementsMode mode); | 314 EnsureElementsMode mode); |
| 315 | 315 |
| 316 Handle<JSArrayBuffer> NewJSArrayBuffer(); |
| 317 |
| 316 Handle<JSProxy> NewJSProxy(Handle<Object> handler, Handle<Object> prototype); | 318 Handle<JSProxy> NewJSProxy(Handle<Object> handler, Handle<Object> prototype); |
| 317 | 319 |
| 318 // Change the type of the argument into a JS object/function and reinitialize. | 320 // Change the type of the argument into a JS object/function and reinitialize. |
| 319 void BecomeJSObject(Handle<JSReceiver> object); | 321 void BecomeJSObject(Handle<JSReceiver> object); |
| 320 void BecomeJSFunction(Handle<JSReceiver> object); | 322 void BecomeJSFunction(Handle<JSReceiver> object); |
| 321 | 323 |
| 322 void SetIdentityHash(Handle<JSObject> object, Smi* hash); | 324 void SetIdentityHash(Handle<JSObject> object, Smi* hash); |
| 323 | 325 |
| 324 Handle<JSFunction> NewFunction(Handle<String> name, | 326 Handle<JSFunction> NewFunction(Handle<String> name, |
| 325 Handle<Object> prototype); | 327 Handle<Object> prototype); |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 528 // Update the map cache in the native context with (keys, map) | 530 // Update the map cache in the native context with (keys, map) |
| 529 Handle<MapCache> AddToMapCache(Handle<Context> context, | 531 Handle<MapCache> AddToMapCache(Handle<Context> context, |
| 530 Handle<FixedArray> keys, | 532 Handle<FixedArray> keys, |
| 531 Handle<Map> map); | 533 Handle<Map> map); |
| 532 }; | 534 }; |
| 533 | 535 |
| 534 | 536 |
| 535 } } // namespace v8::internal | 537 } } // namespace v8::internal |
| 536 | 538 |
| 537 #endif // V8_FACTORY_H_ | 539 #endif // V8_FACTORY_H_ |
| OLD | NEW |