| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|    94   V(String, empty_string, EmptyString)                                         \ |    94   V(String, empty_string, EmptyString)                                         \ | 
|    95   V(DescriptorArray, empty_descriptor_array, EmptyDescriptorArray)             \ |    95   V(DescriptorArray, empty_descriptor_array, EmptyDescriptorArray)             \ | 
|    96   V(Map, neander_map, NeanderMap)                                              \ |    96   V(Map, neander_map, NeanderMap)                                              \ | 
|    97   V(JSObject, message_listeners, MessageListeners)                             \ |    97   V(JSObject, message_listeners, MessageListeners)                             \ | 
|    98   V(Proxy, prototype_accessors, PrototypeAccessors)                            \ |    98   V(Proxy, prototype_accessors, PrototypeAccessors)                            \ | 
|    99   V(NumberDictionary, code_stubs, CodeStubs)                                   \ |    99   V(NumberDictionary, code_stubs, CodeStubs)                                   \ | 
|   100   V(NumberDictionary, non_monomorphic_cache, NonMonomorphicCache)              \ |   100   V(NumberDictionary, non_monomorphic_cache, NonMonomorphicCache)              \ | 
|   101   V(Code, js_entry_code, JsEntryCode)                                          \ |   101   V(Code, js_entry_code, JsEntryCode)                                          \ | 
|   102   V(Code, js_construct_entry_code, JsConstructEntryCode)                       \ |   102   V(Code, js_construct_entry_code, JsConstructEntryCode)                       \ | 
|   103   V(Code, c_entry_code, CEntryCode)                                            \ |   103   V(Code, c_entry_code, CEntryCode)                                            \ | 
|   104   V(Code, debugger_statement_code, DebuggerStatementCode)                      \ |  | 
|   105   V(FixedArray, number_string_cache, NumberStringCache)                        \ |   104   V(FixedArray, number_string_cache, NumberStringCache)                        \ | 
|   106   V(FixedArray, single_character_string_cache, SingleCharacterStringCache)     \ |   105   V(FixedArray, single_character_string_cache, SingleCharacterStringCache)     \ | 
|   107   V(FixedArray, natives_source_cache, NativesSourceCache)                      \ |   106   V(FixedArray, natives_source_cache, NativesSourceCache)                      \ | 
|   108   V(Object, last_script_id, LastScriptId)                                      \ |   107   V(Object, last_script_id, LastScriptId)                                      \ | 
|   109   V(Smi, real_stack_limit, RealStackLimit)                                     \ |   108   V(Smi, real_stack_limit, RealStackLimit)                                     \ | 
|   110  |   109  | 
|   111 #if V8_TARGET_ARCH_ARM && V8_NATIVE_REGEXP |   110 #if V8_TARGET_ARCH_ARM && V8_NATIVE_REGEXP | 
|   112 #define STRONG_ROOT_LIST(V)                                                    \ |   111 #define STRONG_ROOT_LIST(V)                                                    \ | 
|   113   UNCONDITIONAL_STRONG_ROOT_LIST(V)                                            \ |   112   UNCONDITIONAL_STRONG_ROOT_LIST(V)                                            \ | 
|   114   V(Code, re_c_entry_code, RegExpCEntryCode) |   113   V(Code, re_c_entry_code, RegExpCEntryCode) | 
| (...skipping 924 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1039   static void InitializeJSObjectFromMap(JSObject* obj, |  1038   static void InitializeJSObjectFromMap(JSObject* obj, | 
|  1040                                         FixedArray* properties, |  1039                                         FixedArray* properties, | 
|  1041                                         Map* map); |  1040                                         Map* map); | 
|  1042  |  1041  | 
|  1043   static bool CreateInitialMaps(); |  1042   static bool CreateInitialMaps(); | 
|  1044   static bool CreateInitialObjects(); |  1043   static bool CreateInitialObjects(); | 
|  1045  |  1044  | 
|  1046   // These four Create*EntryStub functions are here because of a gcc-4.4 bug |  1045   // These four Create*EntryStub functions are here because of a gcc-4.4 bug | 
|  1047   // that assigns wrong vtable entries. |  1046   // that assigns wrong vtable entries. | 
|  1048   static void CreateCEntryStub(); |  1047   static void CreateCEntryStub(); | 
|  1049   static void CreateCEntryDebugBreakStub(); |  | 
|  1050   static void CreateJSEntryStub(); |  1048   static void CreateJSEntryStub(); | 
|  1051   static void CreateJSConstructEntryStub(); |  1049   static void CreateJSConstructEntryStub(); | 
|  1052   static void CreateRegExpCEntryStub(); |  1050   static void CreateRegExpCEntryStub(); | 
|  1053  |  1051  | 
|  1054   static void CreateFixedStubs(); |  1052   static void CreateFixedStubs(); | 
|  1055  |  1053  | 
|  1056   static Object* CreateOddball(Map* map, |  1054   static Object* CreateOddball(Map* map, | 
|  1057                                const char* to_string, |  1055                                const char* to_string, | 
|  1058                                Object* to_number); |  1056                                Object* to_number); | 
|  1059  |  1057  | 
| (...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1696  |  1694  | 
|  1697   // To speed up scavenge collections new space string are kept |  1695   // To speed up scavenge collections new space string are kept | 
|  1698   // separate from old space strings. |  1696   // separate from old space strings. | 
|  1699   static List<Object*> new_space_strings_; |  1697   static List<Object*> new_space_strings_; | 
|  1700   static List<Object*> old_space_strings_; |  1698   static List<Object*> old_space_strings_; | 
|  1701 }; |  1699 }; | 
|  1702  |  1700  | 
|  1703 } }  // namespace v8::internal |  1701 } }  // namespace v8::internal | 
|  1704  |  1702  | 
|  1705 #endif  // V8_HEAP_H_ |  1703 #endif  // V8_HEAP_H_ | 
| OLD | NEW |