Chromium Code Reviews| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 104 V(Code, js_entry_code, JsEntryCode) \ | 104 V(Code, js_entry_code, JsEntryCode) \ |
| 105 V(Code, js_construct_entry_code, JsConstructEntryCode) \ | 105 V(Code, js_construct_entry_code, JsConstructEntryCode) \ |
| 106 V(Code, c_entry_code, CEntryCode) \ | 106 V(Code, c_entry_code, CEntryCode) \ |
| 107 V(FixedArray, number_string_cache, NumberStringCache) \ | 107 V(FixedArray, number_string_cache, NumberStringCache) \ |
| 108 V(FixedArray, single_character_string_cache, SingleCharacterStringCache) \ | 108 V(FixedArray, single_character_string_cache, SingleCharacterStringCache) \ |
| 109 V(FixedArray, natives_source_cache, NativesSourceCache) \ | 109 V(FixedArray, natives_source_cache, NativesSourceCache) \ |
| 110 V(Object, last_script_id, LastScriptId) \ | 110 V(Object, last_script_id, LastScriptId) \ |
| 111 V(Script, empty_script, EmptyScript) \ | 111 V(Script, empty_script, EmptyScript) \ |
| 112 V(Smi, real_stack_limit, RealStackLimit) \ | 112 V(Smi, real_stack_limit, RealStackLimit) \ |
| 113 | 113 |
| 114 #if V8_TARGET_ARCH_ARM && V8_NATIVE_REGEXP | 114 #if V8_TARGET_ARCH_ARM && !V8_INTERPRETED_REGEXP |
|
Søren Thygesen Gjesse
2010/04/19 19:59:12
Missing comment on #else and #endif, but I think t
| |
| 115 #define STRONG_ROOT_LIST(V) \ | 115 #define STRONG_ROOT_LIST(V) \ |
| 116 UNCONDITIONAL_STRONG_ROOT_LIST(V) \ | 116 UNCONDITIONAL_STRONG_ROOT_LIST(V) \ |
| 117 V(Code, re_c_entry_code, RegExpCEntryCode) | 117 V(Code, re_c_entry_code, RegExpCEntryCode) |
| 118 #else | 118 #else |
| 119 #define STRONG_ROOT_LIST(V) UNCONDITIONAL_STRONG_ROOT_LIST(V) | 119 #define STRONG_ROOT_LIST(V) UNCONDITIONAL_STRONG_ROOT_LIST(V) |
| 120 #endif | 120 #endif |
| 121 | 121 |
| 122 #define ROOT_LIST(V) \ | 122 #define ROOT_LIST(V) \ |
| 123 STRONG_ROOT_LIST(V) \ | 123 STRONG_ROOT_LIST(V) \ |
| 124 V(SymbolTable, symbol_table, SymbolTable) | 124 V(SymbolTable, symbol_table, SymbolTable) |
| (...skipping 1703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1828 | 1828 |
| 1829 // To speed up scavenge collections new space string are kept | 1829 // To speed up scavenge collections new space string are kept |
| 1830 // separate from old space strings. | 1830 // separate from old space strings. |
| 1831 static List<Object*> new_space_strings_; | 1831 static List<Object*> new_space_strings_; |
| 1832 static List<Object*> old_space_strings_; | 1832 static List<Object*> old_space_strings_; |
| 1833 }; | 1833 }; |
| 1834 | 1834 |
| 1835 } } // namespace v8::internal | 1835 } } // namespace v8::internal |
| 1836 | 1836 |
| 1837 #endif // V8_HEAP_H_ | 1837 #endif // V8_HEAP_H_ |
| OLD | NEW |