| 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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 Handle<JSTypedArray> NewJSTypedArray(ExternalArrayType type); | 339 Handle<JSTypedArray> NewJSTypedArray(ExternalArrayType type); |
| 340 | 340 |
| 341 Handle<JSDataView> NewJSDataView(); | 341 Handle<JSDataView> NewJSDataView(); |
| 342 | 342 |
| 343 Handle<JSProxy> NewJSProxy(Handle<Object> handler, Handle<Object> prototype); | 343 Handle<JSProxy> NewJSProxy(Handle<Object> handler, Handle<Object> prototype); |
| 344 | 344 |
| 345 // Change the type of the argument into a JS object/function and reinitialize. | 345 // Change the type of the argument into a JS object/function and reinitialize. |
| 346 void BecomeJSObject(Handle<JSReceiver> object); | 346 void BecomeJSObject(Handle<JSReceiver> object); |
| 347 void BecomeJSFunction(Handle<JSReceiver> object); | 347 void BecomeJSFunction(Handle<JSReceiver> object); |
| 348 | 348 |
| 349 void SetIdentityHash(Handle<JSObject> object, Smi* hash); | |
| 350 | |
| 351 Handle<JSFunction> NewFunction(Handle<String> name, | 349 Handle<JSFunction> NewFunction(Handle<String> name, |
| 352 Handle<Object> prototype); | 350 Handle<Object> prototype); |
| 353 | 351 |
| 354 Handle<JSFunction> NewFunctionWithoutPrototype( | 352 Handle<JSFunction> NewFunctionWithoutPrototype( |
| 355 Handle<String> name, | 353 Handle<String> name, |
| 356 LanguageMode language_mode); | 354 LanguageMode language_mode); |
| 357 | 355 |
| 358 Handle<JSFunction> NewFunction(Handle<Object> super, bool is_global); | 356 Handle<JSFunction> NewFunction(Handle<Object> super, bool is_global); |
| 359 | 357 |
| 360 Handle<JSFunction> BaseNewFunctionFromSharedFunctionInfo( | 358 Handle<JSFunction> BaseNewFunctionFromSharedFunctionInfo( |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 649 } | 647 } |
| 650 | 648 |
| 651 private: | 649 private: |
| 652 Isolate* isolate_; | 650 Isolate* isolate_; |
| 653 }; | 651 }; |
| 654 | 652 |
| 655 | 653 |
| 656 } } // namespace v8::internal | 654 } } // namespace v8::internal |
| 657 | 655 |
| 658 #endif // V8_FACTORY_H_ | 656 #endif // V8_FACTORY_H_ |
| OLD | NEW |