| 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 V(illegal_break_symbol, "illegal_break") \ | 196 V(illegal_break_symbol, "illegal_break") \ |
| 197 V(illegal_continue_symbol, "illegal_continue") \ | 197 V(illegal_continue_symbol, "illegal_continue") \ |
| 198 V(unknown_label_symbol, "unknown_label") \ | 198 V(unknown_label_symbol, "unknown_label") \ |
| 199 V(redeclaration_symbol, "redeclaration") \ | 199 V(redeclaration_symbol, "redeclaration") \ |
| 200 V(failure_symbol, "<failure>") \ | 200 V(failure_symbol, "<failure>") \ |
| 201 V(space_symbol, " ") \ | 201 V(space_symbol, " ") \ |
| 202 V(exec_symbol, "exec") \ | 202 V(exec_symbol, "exec") \ |
| 203 V(zero_symbol, "0") \ | 203 V(zero_symbol, "0") \ |
| 204 V(global_eval_symbol, "GlobalEval") \ | 204 V(global_eval_symbol, "GlobalEval") \ |
| 205 V(identity_hash_symbol, "v8::IdentityHash") \ | 205 V(identity_hash_symbol, "v8::IdentityHash") \ |
| 206 V(closure_symbol, "(closure)") \ | 206 V(closure_symbol, "(closure)") |
| 207 V(KeyedLoadExternalArray_symbol, "KeyedLoadExternalArray") \ | |
| 208 V(KeyedStoreExternalArray_symbol, "KeyedStoreExternalArray") | |
| 209 | 207 |
| 210 | 208 |
| 211 // Forward declarations. | 209 // Forward declarations. |
| 212 class GCTracer; | 210 class GCTracer; |
| 213 class HeapStats; | 211 class HeapStats; |
| 214 class WeakObjectRetainer; | 212 class WeakObjectRetainer; |
| 215 | 213 |
| 216 | 214 |
| 217 typedef String* (*ExternalStringTableUpdaterCallback)(Object** pointer); | 215 typedef String* (*ExternalStringTableUpdaterCallback)(Object** pointer); |
| 218 | 216 |
| (...skipping 1906 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2125 // 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 |
| 2126 // object has no references. Otherwise the address of the retained object | 2124 // object has no references. Otherwise the address of the retained object |
| 2127 // 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. |
| 2128 virtual Object* RetainAs(Object* object) = 0; | 2126 virtual Object* RetainAs(Object* object) = 0; |
| 2129 }; | 2127 }; |
| 2130 | 2128 |
| 2131 | 2129 |
| 2132 } } // namespace v8::internal | 2130 } } // namespace v8::internal |
| 2133 | 2131 |
| 2134 #endif // V8_HEAP_H_ | 2132 #endif // V8_HEAP_H_ |
| OLD | NEW |