| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 Handle<Map> function_map, | 245 Handle<Map> function_map, |
| 246 PretenureFlag pretenure); | 246 PretenureFlag pretenure); |
| 247 | 247 |
| 248 static Handle<JSFunction> NewFunctionFromSharedFunctionInfo( | 248 static Handle<JSFunction> NewFunctionFromSharedFunctionInfo( |
| 249 Handle<SharedFunctionInfo> function_info, | 249 Handle<SharedFunctionInfo> function_info, |
| 250 Handle<Context> context, | 250 Handle<Context> context, |
| 251 PretenureFlag pretenure = TENURED); | 251 PretenureFlag pretenure = TENURED); |
| 252 | 252 |
| 253 static Handle<Code> NewCode(const CodeDesc& desc, | 253 static Handle<Code> NewCode(const CodeDesc& desc, |
| 254 Code::Flags flags, | 254 Code::Flags flags, |
| 255 Handle<Object> self_reference); | 255 Handle<Object> self_reference, |
| 256 bool immovable = false); |
| 256 | 257 |
| 257 static Handle<Code> CopyCode(Handle<Code> code); | 258 static Handle<Code> CopyCode(Handle<Code> code); |
| 258 | 259 |
| 259 static Handle<Code> CopyCode(Handle<Code> code, Vector<byte> reloc_info); | 260 static Handle<Code> CopyCode(Handle<Code> code, Vector<byte> reloc_info); |
| 260 | 261 |
| 261 static Handle<Object> ToObject(Handle<Object> object); | 262 static Handle<Object> ToObject(Handle<Object> object); |
| 262 static Handle<Object> ToObject(Handle<Object> object, | 263 static Handle<Object> ToObject(Handle<Object> object, |
| 263 Handle<Context> global_context); | 264 Handle<Context> global_context); |
| 264 | 265 |
| 265 // Interface for creating error objects. | 266 // Interface for creating error objects. |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 // Update the map cache in the global context with (keys, map) | 424 // Update the map cache in the global context with (keys, map) |
| 424 static Handle<MapCache> AddToMapCache(Handle<Context> context, | 425 static Handle<MapCache> AddToMapCache(Handle<Context> context, |
| 425 Handle<FixedArray> keys, | 426 Handle<FixedArray> keys, |
| 426 Handle<Map> map); | 427 Handle<Map> map); |
| 427 }; | 428 }; |
| 428 | 429 |
| 429 | 430 |
| 430 } } // namespace v8::internal | 431 } } // namespace v8::internal |
| 431 | 432 |
| 432 #endif // V8_FACTORY_H_ | 433 #endif // V8_FACTORY_H_ |
| OLD | NEW |