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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 void SetContent(Handle<JSArray> array, Handle<FixedArray> elements); | 258 void SetContent(Handle<JSArray> array, Handle<FixedArray> elements); |
259 | 259 |
260 void EnsureCanContainNonSmiElements(Handle<JSArray> array); | 260 void EnsureCanContainNonSmiElements(Handle<JSArray> array); |
261 | 261 |
262 Handle<JSProxy> NewJSProxy(Handle<Object> handler, Handle<Object> prototype); | 262 Handle<JSProxy> NewJSProxy(Handle<Object> handler, Handle<Object> prototype); |
263 | 263 |
264 // Change the type of the argument into a JS object/function and reinitialize. | 264 // Change the type of the argument into a JS object/function and reinitialize. |
265 void BecomeJSObject(Handle<JSReceiver> object); | 265 void BecomeJSObject(Handle<JSReceiver> object); |
266 void BecomeJSFunction(Handle<JSReceiver> object); | 266 void BecomeJSFunction(Handle<JSReceiver> object); |
267 | 267 |
| 268 void SetIdentityHash(Handle<JSObject> object, Object* hash); |
| 269 |
268 Handle<JSFunction> NewFunction(Handle<String> name, | 270 Handle<JSFunction> NewFunction(Handle<String> name, |
269 Handle<Object> prototype); | 271 Handle<Object> prototype); |
270 | 272 |
271 Handle<JSFunction> NewFunctionWithoutPrototype( | 273 Handle<JSFunction> NewFunctionWithoutPrototype( |
272 Handle<String> name, | 274 Handle<String> name, |
273 StrictModeFlag strict_mode); | 275 StrictModeFlag strict_mode); |
274 | 276 |
275 Handle<JSFunction> NewFunction(Handle<Object> super, bool is_global); | 277 Handle<JSFunction> NewFunction(Handle<Object> super, bool is_global); |
276 | 278 |
277 Handle<JSFunction> BaseNewFunctionFromSharedFunctionInfo( | 279 Handle<JSFunction> BaseNewFunctionFromSharedFunctionInfo( |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
469 // Update the map cache in the global context with (keys, map) | 471 // Update the map cache in the global context with (keys, map) |
470 Handle<MapCache> AddToMapCache(Handle<Context> context, | 472 Handle<MapCache> AddToMapCache(Handle<Context> context, |
471 Handle<FixedArray> keys, | 473 Handle<FixedArray> keys, |
472 Handle<Map> map); | 474 Handle<Map> map); |
473 }; | 475 }; |
474 | 476 |
475 | 477 |
476 } } // namespace v8::internal | 478 } } // namespace v8::internal |
477 | 479 |
478 #endif // V8_FACTORY_H_ | 480 #endif // V8_FACTORY_H_ |
OLD | NEW |