| 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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 Handle<Context> context, | 222 Handle<Context> context, |
| 223 PretenureFlag pretenure = TENURED); | 223 PretenureFlag pretenure = TENURED); |
| 224 | 224 |
| 225 static Handle<Code> NewCode(const CodeDesc& desc, | 225 static Handle<Code> NewCode(const CodeDesc& desc, |
| 226 ZoneScopeInfo* sinfo, | 226 ZoneScopeInfo* sinfo, |
| 227 Code::Flags flags, | 227 Code::Flags flags, |
| 228 Handle<Object> self_reference); | 228 Handle<Object> self_reference); |
| 229 | 229 |
| 230 static Handle<Code> CopyCode(Handle<Code> code); | 230 static Handle<Code> CopyCode(Handle<Code> code); |
| 231 | 231 |
| 232 static Handle<Object> ToObject(Handle<Object> object); |
| 232 static Handle<Object> ToObject(Handle<Object> object, | 233 static Handle<Object> ToObject(Handle<Object> object, |
| 233 Handle<Context> global_context); | 234 Handle<Context> global_context); |
| 234 | 235 |
| 235 // Interface for creating error objects. | 236 // Interface for creating error objects. |
| 236 | 237 |
| 237 static Handle<Object> NewError(const char* maker, const char* type, | 238 static Handle<Object> NewError(const char* maker, const char* type, |
| 238 Handle<JSArray> args); | 239 Handle<JSArray> args); |
| 239 static Handle<Object> NewError(const char* maker, const char* type, | 240 static Handle<Object> NewError(const char* maker, const char* type, |
| 240 Vector< Handle<Object> > args); | 241 Vector< Handle<Object> > args); |
| 241 static Handle<Object> NewError(const char* type, | 242 static Handle<Object> NewError(const char* type, |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 // Update the map cache in the global context with (keys, map) | 385 // Update the map cache in the global context with (keys, map) |
| 385 static Handle<MapCache> AddToMapCache(Handle<Context> context, | 386 static Handle<MapCache> AddToMapCache(Handle<Context> context, |
| 386 Handle<FixedArray> keys, | 387 Handle<FixedArray> keys, |
| 387 Handle<Map> map); | 388 Handle<Map> map); |
| 388 }; | 389 }; |
| 389 | 390 |
| 390 | 391 |
| 391 } } // namespace v8::internal | 392 } } // namespace v8::internal |
| 392 | 393 |
| 393 #endif // V8_FACTORY_H_ | 394 #endif // V8_FACTORY_H_ |
| OLD | NEW |