| 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 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 Handle<Context> context, | 359 Handle<Context> context, |
| 360 PretenureFlag pretenure = TENURED); | 360 PretenureFlag pretenure = TENURED); |
| 361 | 361 |
| 362 Handle<ScopeInfo> NewScopeInfo(int length); | 362 Handle<ScopeInfo> NewScopeInfo(int length); |
| 363 | 363 |
| 364 Handle<JSObject> NewExternal(void* value); | 364 Handle<JSObject> NewExternal(void* value); |
| 365 | 365 |
| 366 Handle<Code> NewCode(const CodeDesc& desc, | 366 Handle<Code> NewCode(const CodeDesc& desc, |
| 367 Code::Flags flags, | 367 Code::Flags flags, |
| 368 Handle<Object> self_reference, | 368 Handle<Object> self_reference, |
| 369 int prologue_offset = kPrologueOffsetNotSet, |
| 369 bool immovable = false, | 370 bool immovable = false, |
| 370 bool crankshafted = false); | 371 bool crankshafted = false); |
| 371 | 372 |
| 372 Handle<Code> CopyCode(Handle<Code> code); | 373 Handle<Code> CopyCode(Handle<Code> code); |
| 373 | 374 |
| 374 Handle<Code> CopyCode(Handle<Code> code, Vector<byte> reloc_info); | 375 Handle<Code> CopyCode(Handle<Code> code, Vector<byte> reloc_info); |
| 375 | 376 |
| 376 Handle<Object> ToObject(Handle<Object> object); | 377 Handle<Object> ToObject(Handle<Object> object); |
| 377 Handle<Object> ToObject(Handle<Object> object, | 378 Handle<Object> ToObject(Handle<Object> object, |
| 378 Handle<Context> native_context); | 379 Handle<Context> native_context); |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 661 } | 662 } |
| 662 | 663 |
| 663 private: | 664 private: |
| 664 Isolate* isolate_; | 665 Isolate* isolate_; |
| 665 }; | 666 }; |
| 666 | 667 |
| 667 | 668 |
| 668 } } // namespace v8::internal | 669 } } // namespace v8::internal |
| 669 | 670 |
| 670 #endif // V8_FACTORY_H_ | 671 #endif // V8_FACTORY_H_ |
| OLD | NEW |