| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 Handle<Context> context, | 240 Handle<Context> context, |
| 241 PretenureFlag pretenure = TENURED); | 241 PretenureFlag pretenure = TENURED); |
| 242 | 242 |
| 243 static Handle<Code> NewCode(const CodeDesc& desc, | 243 static Handle<Code> NewCode(const CodeDesc& desc, |
| 244 ZoneScopeInfo* sinfo, | 244 ZoneScopeInfo* sinfo, |
| 245 Code::Flags flags, | 245 Code::Flags flags, |
| 246 Handle<Object> self_reference); | 246 Handle<Object> self_reference); |
| 247 | 247 |
| 248 static Handle<Code> CopyCode(Handle<Code> code); | 248 static Handle<Code> CopyCode(Handle<Code> code); |
| 249 | 249 |
| 250 static Handle<Code> CopyCode(Handle<Code> code, Vector<byte> reloc_info); | 250 static Handle<Code> AddPatchToCode(Handle<Code> code, Handle<Code> patch); |
| 251 | 251 |
| 252 static Handle<Object> ToObject(Handle<Object> object); | 252 static Handle<Object> ToObject(Handle<Object> object); |
| 253 static Handle<Object> ToObject(Handle<Object> object, | 253 static Handle<Object> ToObject(Handle<Object> object, |
| 254 Handle<Context> global_context); | 254 Handle<Context> global_context); |
| 255 | 255 |
| 256 // Interface for creating error objects. | 256 // Interface for creating error objects. |
| 257 | 257 |
| 258 static Handle<Object> NewError(const char* maker, const char* type, | 258 static Handle<Object> NewError(const char* maker, const char* type, |
| 259 Handle<JSArray> args); | 259 Handle<JSArray> args); |
| 260 static Handle<Object> NewError(const char* maker, const char* type, | 260 static Handle<Object> NewError(const char* maker, const char* type, |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 402 // Update the map cache in the global context with (keys, map) | 402 // Update the map cache in the global context with (keys, map) |
| 403 static Handle<MapCache> AddToMapCache(Handle<Context> context, | 403 static Handle<MapCache> AddToMapCache(Handle<Context> context, |
| 404 Handle<FixedArray> keys, | 404 Handle<FixedArray> keys, |
| 405 Handle<Map> map); | 405 Handle<Map> map); |
| 406 }; | 406 }; |
| 407 | 407 |
| 408 | 408 |
| 409 } } // namespace v8::internal | 409 } } // namespace v8::internal |
| 410 | 410 |
| 411 #endif // V8_FACTORY_H_ | 411 #endif // V8_FACTORY_H_ |
| OLD | NEW |