| 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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 static Handle<String> hidden_symbol() { | 303 static Handle<String> hidden_symbol() { |
| 304 return Handle<String>(&Heap::hidden_symbol_); | 304 return Handle<String>(&Heap::hidden_symbol_); |
| 305 } | 305 } |
| 306 | 306 |
| 307 static Handle<SharedFunctionInfo> NewSharedFunctionInfo(Handle<String> name); | 307 static Handle<SharedFunctionInfo> NewSharedFunctionInfo(Handle<String> name); |
| 308 | 308 |
| 309 static Handle<Dictionary> DictionaryAtNumberPut(Handle<Dictionary>, | 309 static Handle<Dictionary> DictionaryAtNumberPut(Handle<Dictionary>, |
| 310 uint32_t key, | 310 uint32_t key, |
| 311 Handle<Object> value); | 311 Handle<Object> value); |
| 312 | 312 |
| 313 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 313 static Handle<DebugInfo> NewDebugInfo(Handle<SharedFunctionInfo> shared); | 314 static Handle<DebugInfo> NewDebugInfo(Handle<SharedFunctionInfo> shared); |
| 314 | 315 #endif |
| 315 | 316 |
| 316 // Return a map using the map cache in the global context. | 317 // Return a map using the map cache in the global context. |
| 317 // The key the an ordered set of property names. | 318 // The key the an ordered set of property names. |
| 318 static Handle<Map> ObjectLiteralMapFromCache(Handle<Context> context, | 319 static Handle<Map> ObjectLiteralMapFromCache(Handle<Context> context, |
| 319 Handle<FixedArray> keys); | 320 Handle<FixedArray> keys); |
| 320 | 321 |
| 321 // Creates a new FixedArray that holds the data associated with the | 322 // Creates a new FixedArray that holds the data associated with the |
| 322 // atom regexp and stores it in the regexp. | 323 // atom regexp and stores it in the regexp. |
| 323 static void SetRegExpAtomData(Handle<JSRegExp> regexp, | 324 static void SetRegExpAtomData(Handle<JSRegExp> regexp, |
| 324 JSRegExp::Type type, | 325 JSRegExp::Type type, |
| (...skipping 27 matching lines...) Expand all Loading... |
| 352 // Update the map cache in the global context with (keys, map) | 353 // Update the map cache in the global context with (keys, map) |
| 353 static Handle<MapCache> AddToMapCache(Handle<Context> context, | 354 static Handle<MapCache> AddToMapCache(Handle<Context> context, |
| 354 Handle<FixedArray> keys, | 355 Handle<FixedArray> keys, |
| 355 Handle<Map> map); | 356 Handle<Map> map); |
| 356 }; | 357 }; |
| 357 | 358 |
| 358 | 359 |
| 359 } } // namespace v8::internal | 360 } } // namespace v8::internal |
| 360 | 361 |
| 361 #endif // V8_FACTORY_H_ | 362 #endif // V8_FACTORY_H_ |
| OLD | NEW |