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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(); | 316 Handle<JSArrayBuffer> NewJSArrayBuffer(); |
317 | 317 |
| 318 Handle<JSTypedArray> NewJSTypedArray(ExternalArrayType type); |
| 319 |
318 Handle<JSProxy> NewJSProxy(Handle<Object> handler, Handle<Object> prototype); | 320 Handle<JSProxy> NewJSProxy(Handle<Object> handler, Handle<Object> prototype); |
319 | 321 |
320 // Change the type of the argument into a JS object/function and reinitialize. | 322 // Change the type of the argument into a JS object/function and reinitialize. |
321 void BecomeJSObject(Handle<JSReceiver> object); | 323 void BecomeJSObject(Handle<JSReceiver> object); |
322 void BecomeJSFunction(Handle<JSReceiver> object); | 324 void BecomeJSFunction(Handle<JSReceiver> object); |
323 | 325 |
324 void SetIdentityHash(Handle<JSObject> object, Smi* hash); | 326 void SetIdentityHash(Handle<JSObject> object, Smi* hash); |
325 | 327 |
326 Handle<JSFunction> NewFunction(Handle<String> name, | 328 Handle<JSFunction> NewFunction(Handle<String> name, |
327 Handle<Object> prototype); | 329 Handle<Object> prototype); |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
530 // Update the map cache in the native context with (keys, map) | 532 // Update the map cache in the native context with (keys, map) |
531 Handle<MapCache> AddToMapCache(Handle<Context> context, | 533 Handle<MapCache> AddToMapCache(Handle<Context> context, |
532 Handle<FixedArray> keys, | 534 Handle<FixedArray> keys, |
533 Handle<Map> map); | 535 Handle<Map> map); |
534 }; | 536 }; |
535 | 537 |
536 | 538 |
537 } } // namespace v8::internal | 539 } } // namespace v8::internal |
538 | 540 |
539 #endif // V8_FACTORY_H_ | 541 #endif // V8_FACTORY_H_ |
OLD | NEW |