| 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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 Handle<Context> context, | 340 Handle<Context> context, |
| 341 PretenureFlag pretenure = TENURED); | 341 PretenureFlag pretenure = TENURED); |
| 342 | 342 |
| 343 Handle<ScopeInfo> NewScopeInfo(int length); | 343 Handle<ScopeInfo> NewScopeInfo(int length); |
| 344 | 344 |
| 345 Handle<JSObject> NewExternal(void* value); | 345 Handle<JSObject> NewExternal(void* value); |
| 346 | 346 |
| 347 Handle<Code> NewCode(const CodeDesc& desc, | 347 Handle<Code> NewCode(const CodeDesc& desc, |
| 348 Code::Flags flags, | 348 Code::Flags flags, |
| 349 Handle<Object> self_reference, | 349 Handle<Object> self_reference, |
| 350 bool immovable = false); | 350 bool immovable = false, |
| 351 bool crankshafted = false); |
| 351 | 352 |
| 352 Handle<Code> CopyCode(Handle<Code> code); | 353 Handle<Code> CopyCode(Handle<Code> code); |
| 353 | 354 |
| 354 Handle<Code> CopyCode(Handle<Code> code, Vector<byte> reloc_info); | 355 Handle<Code> CopyCode(Handle<Code> code, Vector<byte> reloc_info); |
| 355 | 356 |
| 356 Handle<Object> ToObject(Handle<Object> object); | 357 Handle<Object> ToObject(Handle<Object> object); |
| 357 Handle<Object> ToObject(Handle<Object> object, | 358 Handle<Object> ToObject(Handle<Object> object, |
| 358 Handle<Context> native_context); | 359 Handle<Context> native_context); |
| 359 | 360 |
| 360 // Interface for creating error objects. | 361 // Interface for creating error objects. |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 527 // Update the map cache in the native context with (keys, map) | 528 // Update the map cache in the native context with (keys, map) |
| 528 Handle<MapCache> AddToMapCache(Handle<Context> context, | 529 Handle<MapCache> AddToMapCache(Handle<Context> context, |
| 529 Handle<FixedArray> keys, | 530 Handle<FixedArray> keys, |
| 530 Handle<Map> map); | 531 Handle<Map> map); |
| 531 }; | 532 }; |
| 532 | 533 |
| 533 | 534 |
| 534 } } // namespace v8::internal | 535 } } // namespace v8::internal |
| 535 | 536 |
| 536 #endif // V8_FACTORY_H_ | 537 #endif // V8_FACTORY_H_ |
| OLD | NEW |