OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 | 266 |
267 | 267 |
268 class LiveObjectList { | 268 class LiveObjectList { |
269 public: | 269 public: |
270 inline static void GCEpilogue() {} | 270 inline static void GCEpilogue() {} |
271 inline static void GCPrologue() {} | 271 inline static void GCPrologue() {} |
272 inline static void IterateElements(ObjectVisitor* v) {} | 272 inline static void IterateElements(ObjectVisitor* v) {} |
273 inline static void ProcessNonLive(HeapObject* obj) {} | 273 inline static void ProcessNonLive(HeapObject* obj) {} |
274 inline static void UpdateReferencesForScavengeGC() {} | 274 inline static void UpdateReferencesForScavengeGC() {} |
275 | 275 |
276 inline static MaybeObject* Capture() { return Heap::undefined_value(); } | 276 inline static MaybeObject* Capture() { return HEAP->undefined_value(); } |
277 inline static bool Delete(int id) { return false; } | 277 inline static bool Delete(int id) { return false; } |
278 inline static MaybeObject* Dump(int id1, | 278 inline static MaybeObject* Dump(int id1, |
279 int id2, | 279 int id2, |
280 int start_idx, | 280 int start_idx, |
281 int dump_limit, | 281 int dump_limit, |
282 Handle<JSObject> filter_obj) { | 282 Handle<JSObject> filter_obj) { |
283 return Heap::undefined_value(); | 283 return HEAP->undefined_value(); |
284 } | 284 } |
285 inline static MaybeObject* Info(int start_idx, int dump_limit) { | 285 inline static MaybeObject* Info(int start_idx, int dump_limit) { |
286 return Heap::undefined_value(); | 286 return HEAP->undefined_value(); |
287 } | 287 } |
288 inline static MaybeObject* Summarize(int id1, | 288 inline static MaybeObject* Summarize(int id1, |
289 int id2, | 289 int id2, |
290 Handle<JSObject> filter_obj) { | 290 Handle<JSObject> filter_obj) { |
291 return Heap::undefined_value(); | 291 return HEAP->undefined_value(); |
292 } | 292 } |
293 | 293 |
294 inline static void Reset() {} | 294 inline static void Reset() {} |
295 inline static Object* GetObj(int obj_id) { return Heap::undefined_value(); } | 295 inline static Object* GetObj(int obj_id) { return HEAP->undefined_value(); } |
296 inline static Object* GetObjId(Handle<String> address) { | 296 inline static Object* GetObjId(Handle<String> address) { |
297 return Heap::undefined_value(); | 297 return HEAP->undefined_value(); |
298 } | 298 } |
299 inline static MaybeObject* GetObjRetainers(int obj_id, | 299 inline static MaybeObject* GetObjRetainers(int obj_id, |
300 Handle<JSObject> instance_filter, | 300 Handle<JSObject> instance_filter, |
301 bool verbose, | 301 bool verbose, |
302 int start, | 302 int start, |
303 int count, | 303 int count, |
304 Handle<JSObject> filter_obj) { | 304 Handle<JSObject> filter_obj) { |
305 return Heap::undefined_value(); | 305 return HEAP->undefined_value(); |
306 } | 306 } |
307 | 307 |
308 inline static Object* GetPath(int obj_id1, | 308 inline static Object* GetPath(int obj_id1, |
309 int obj_id2, | 309 int obj_id2, |
310 Handle<JSObject> instance_filter) { | 310 Handle<JSObject> instance_filter) { |
311 return Heap::undefined_value(); | 311 return HEAP->undefined_value(); |
312 } | 312 } |
313 inline static Object* PrintObj(int obj_id) { return Heap::undefined_value(); } | 313 inline static Object* PrintObj(int obj_id) { return HEAP->undefined_value(); } |
314 }; | 314 }; |
315 | 315 |
316 | 316 |
317 #endif // LIVE_OBJECT_LIST | 317 #endif // LIVE_OBJECT_LIST |
318 | 318 |
319 } } // namespace v8::internal | 319 } } // namespace v8::internal |
320 | 320 |
321 #endif // V8_LIVEOBJECTLIST_H_ | 321 #endif // V8_LIVEOBJECTLIST_H_ |
322 | 322 |
OLD | NEW |