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