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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 Handle<FixedArrayBase> elements, | 290 Handle<FixedArrayBase> elements, |
291 uint32_t length, | 291 uint32_t length, |
292 EnsureElementsMode mode); | 292 EnsureElementsMode mode); |
293 | 293 |
294 Handle<JSProxy> NewJSProxy(Handle<Object> handler, Handle<Object> prototype); | 294 Handle<JSProxy> NewJSProxy(Handle<Object> handler, Handle<Object> prototype); |
295 | 295 |
296 // Change the type of the argument into a JS object/function and reinitialize. | 296 // Change the type of the argument into a JS object/function and reinitialize. |
297 void BecomeJSObject(Handle<JSReceiver> object); | 297 void BecomeJSObject(Handle<JSReceiver> object); |
298 void BecomeJSFunction(Handle<JSReceiver> object); | 298 void BecomeJSFunction(Handle<JSReceiver> object); |
299 | 299 |
300 void SetIdentityHash(Handle<JSObject> object, Object* hash); | 300 void SetIdentityHash(Handle<JSObject> object, Smi* hash); |
301 | 301 |
302 Handle<JSFunction> NewFunction(Handle<String> name, | 302 Handle<JSFunction> NewFunction(Handle<String> name, |
303 Handle<Object> prototype); | 303 Handle<Object> prototype); |
304 | 304 |
305 Handle<JSFunction> NewFunctionWithoutPrototype( | 305 Handle<JSFunction> NewFunctionWithoutPrototype( |
306 Handle<String> name, | 306 Handle<String> name, |
307 LanguageMode language_mode); | 307 LanguageMode language_mode); |
308 | 308 |
309 Handle<JSFunction> NewFunction(Handle<Object> super, bool is_global); | 309 Handle<JSFunction> NewFunction(Handle<Object> super, bool is_global); |
310 | 310 |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
502 // Update the map cache in the global context with (keys, map) | 502 // Update the map cache in the global context with (keys, map) |
503 Handle<MapCache> AddToMapCache(Handle<Context> context, | 503 Handle<MapCache> AddToMapCache(Handle<Context> context, |
504 Handle<FixedArray> keys, | 504 Handle<FixedArray> keys, |
505 Handle<Map> map); | 505 Handle<Map> map); |
506 }; | 506 }; |
507 | 507 |
508 | 508 |
509 } } // namespace v8::internal | 509 } } // namespace v8::internal |
510 | 510 |
511 #endif // V8_FACTORY_H_ | 511 #endif // V8_FACTORY_H_ |
OLD | NEW |