| 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 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 PretenureFlag pretenure = TENURED); | 373 PretenureFlag pretenure = TENURED); |
| 374 | 374 |
| 375 Handle<ScopeInfo> NewScopeInfo(int length); | 375 Handle<ScopeInfo> NewScopeInfo(int length); |
| 376 | 376 |
| 377 Handle<JSObject> NewExternal(void* value); | 377 Handle<JSObject> NewExternal(void* value); |
| 378 | 378 |
| 379 Handle<Code> NewCode(const CodeDesc& desc, | 379 Handle<Code> NewCode(const CodeDesc& desc, |
| 380 Code::Flags flags, | 380 Code::Flags flags, |
| 381 Handle<Object> self_reference, | 381 Handle<Object> self_reference, |
| 382 bool immovable = false, | 382 bool immovable = false, |
| 383 bool crankshafted = false); | 383 bool crankshafted = false, |
| 384 int prologue_offset = Code::kPrologueOffsetNotSet); |
| 384 | 385 |
| 385 Handle<Code> CopyCode(Handle<Code> code); | 386 Handle<Code> CopyCode(Handle<Code> code); |
| 386 | 387 |
| 387 Handle<Code> CopyCode(Handle<Code> code, Vector<byte> reloc_info); | 388 Handle<Code> CopyCode(Handle<Code> code, Vector<byte> reloc_info); |
| 388 | 389 |
| 389 Handle<Object> ToObject(Handle<Object> object); | 390 Handle<Object> ToObject(Handle<Object> object); |
| 390 Handle<Object> ToObject(Handle<Object> object, | 391 Handle<Object> ToObject(Handle<Object> object, |
| 391 Handle<Context> native_context); | 392 Handle<Context> native_context); |
| 392 | 393 |
| 393 // Interface for creating error objects. | 394 // Interface for creating error objects. |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 674 } | 675 } |
| 675 | 676 |
| 676 private: | 677 private: |
| 677 Isolate* isolate_; | 678 Isolate* isolate_; |
| 678 }; | 679 }; |
| 679 | 680 |
| 680 | 681 |
| 681 } } // namespace v8::internal | 682 } } // namespace v8::internal |
| 682 | 683 |
| 683 #endif // V8_FACTORY_H_ | 684 #endif // V8_FACTORY_H_ |
| OLD | NEW |