OLD | NEW |
---|---|
1 // Copyright 2010 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 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
109 V(Code, js_entry_code, JsEntryCode) \ | 109 V(Code, js_entry_code, JsEntryCode) \ |
110 V(Code, js_construct_entry_code, JsConstructEntryCode) \ | 110 V(Code, js_construct_entry_code, JsConstructEntryCode) \ |
111 V(Code, c_entry_code, CEntryCode) \ | 111 V(Code, c_entry_code, CEntryCode) \ |
112 V(FixedArray, number_string_cache, NumberStringCache) \ | 112 V(FixedArray, number_string_cache, NumberStringCache) \ |
113 V(FixedArray, single_character_string_cache, SingleCharacterStringCache) \ | 113 V(FixedArray, single_character_string_cache, SingleCharacterStringCache) \ |
114 V(FixedArray, natives_source_cache, NativesSourceCache) \ | 114 V(FixedArray, natives_source_cache, NativesSourceCache) \ |
115 V(Object, last_script_id, LastScriptId) \ | 115 V(Object, last_script_id, LastScriptId) \ |
116 V(Script, empty_script, EmptyScript) \ | 116 V(Script, empty_script, EmptyScript) \ |
117 V(Smi, real_stack_limit, RealStackLimit) \ | 117 V(Smi, real_stack_limit, RealStackLimit) \ |
118 V(StringDictionary, intrinsic_function_names, IntrinsicFunctionNames) \ | 118 V(StringDictionary, intrinsic_function_names, IntrinsicFunctionNames) \ |
119 V(Object, arguments_marker, ArgumentsMarker) | |
Kevin Millikin (Chromium)
2011/01/06 14:00:47
I guess this list is unordered, but it makes sense
fschneider
2011/01/06 16:22:49
Done.
| |
119 | 120 |
120 #if V8_TARGET_ARCH_ARM && !V8_INTERPRETED_REGEXP | 121 #if V8_TARGET_ARCH_ARM && !V8_INTERPRETED_REGEXP |
121 #define STRONG_ROOT_LIST(V) \ | 122 #define STRONG_ROOT_LIST(V) \ |
122 UNCONDITIONAL_STRONG_ROOT_LIST(V) \ | 123 UNCONDITIONAL_STRONG_ROOT_LIST(V) \ |
123 V(Code, re_c_entry_code, RegExpCEntryCode) | 124 V(Code, re_c_entry_code, RegExpCEntryCode) |
124 #else | 125 #else |
125 #define STRONG_ROOT_LIST(V) UNCONDITIONAL_STRONG_ROOT_LIST(V) | 126 #define STRONG_ROOT_LIST(V) UNCONDITIONAL_STRONG_ROOT_LIST(V) |
126 #endif | 127 #endif |
127 | 128 |
128 #define ROOT_LIST(V) \ | 129 #define ROOT_LIST(V) \ |
(...skipping 1993 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2122 // Return whether this object should be retained. If NULL is returned the | 2123 // Return whether this object should be retained. If NULL is returned the |
2123 // object has no references. Otherwise the address of the retained object | 2124 // object has no references. Otherwise the address of the retained object |
2124 // should be returned as in some GC situations the object has been moved. | 2125 // should be returned as in some GC situations the object has been moved. |
2125 virtual Object* RetainAs(Object* object) = 0; | 2126 virtual Object* RetainAs(Object* object) = 0; |
2126 }; | 2127 }; |
2127 | 2128 |
2128 | 2129 |
2129 } } // namespace v8::internal | 2130 } } // namespace v8::internal |
2130 | 2131 |
2131 #endif // V8_HEAP_H_ | 2132 #endif // V8_HEAP_H_ |
OLD | NEW |