OLD | NEW |
1 // Copyright 2006-2008 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 |
11 // with the distribution. | 11 // with the distribution. |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 V(NumberDictionary, non_monomorphic_cache, NonMonomorphicCache) \ | 107 V(NumberDictionary, non_monomorphic_cache, NonMonomorphicCache) \ |
108 V(Code, js_entry_code, JsEntryCode) \ | 108 V(Code, js_entry_code, JsEntryCode) \ |
109 V(Code, js_construct_entry_code, JsConstructEntryCode) \ | 109 V(Code, js_construct_entry_code, JsConstructEntryCode) \ |
110 V(Code, c_entry_code, CEntryCode) \ | 110 V(Code, c_entry_code, CEntryCode) \ |
111 V(FixedArray, number_string_cache, NumberStringCache) \ | 111 V(FixedArray, number_string_cache, NumberStringCache) \ |
112 V(FixedArray, single_character_string_cache, SingleCharacterStringCache) \ | 112 V(FixedArray, single_character_string_cache, SingleCharacterStringCache) \ |
113 V(FixedArray, natives_source_cache, NativesSourceCache) \ | 113 V(FixedArray, natives_source_cache, NativesSourceCache) \ |
114 V(Object, last_script_id, LastScriptId) \ | 114 V(Object, last_script_id, LastScriptId) \ |
115 V(Script, empty_script, EmptyScript) \ | 115 V(Script, empty_script, EmptyScript) \ |
116 V(Smi, real_stack_limit, RealStackLimit) \ | 116 V(Smi, real_stack_limit, RealStackLimit) \ |
| 117 V(StringDictionary, intrinsic_function_names, IntrinsicFunctionNames) \ |
117 | 118 |
118 #if V8_TARGET_ARCH_ARM && !V8_INTERPRETED_REGEXP | 119 #if V8_TARGET_ARCH_ARM && !V8_INTERPRETED_REGEXP |
119 #define STRONG_ROOT_LIST(V) \ | 120 #define STRONG_ROOT_LIST(V) \ |
120 UNCONDITIONAL_STRONG_ROOT_LIST(V) \ | 121 UNCONDITIONAL_STRONG_ROOT_LIST(V) \ |
121 V(Code, re_c_entry_code, RegExpCEntryCode) | 122 V(Code, re_c_entry_code, RegExpCEntryCode) |
122 #else | 123 #else |
123 #define STRONG_ROOT_LIST(V) UNCONDITIONAL_STRONG_ROOT_LIST(V) | 124 #define STRONG_ROOT_LIST(V) UNCONDITIONAL_STRONG_ROOT_LIST(V) |
124 #endif | 125 #endif |
125 | 126 |
126 #define ROOT_LIST(V) \ | 127 #define ROOT_LIST(V) \ |
(...skipping 1893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2020 | 2021 |
2021 // To speed up scavenge collections new space string are kept | 2022 // To speed up scavenge collections new space string are kept |
2022 // separate from old space strings. | 2023 // separate from old space strings. |
2023 static List<Object*> new_space_strings_; | 2024 static List<Object*> new_space_strings_; |
2024 static List<Object*> old_space_strings_; | 2025 static List<Object*> old_space_strings_; |
2025 }; | 2026 }; |
2026 | 2027 |
2027 } } // namespace v8::internal | 2028 } } // namespace v8::internal |
2028 | 2029 |
2029 #endif // V8_HEAP_H_ | 2030 #endif // V8_HEAP_H_ |
OLD | NEW |