OLD | NEW |
---|---|
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
48 public: | 48 public: |
49 #define VISITOR_ID_LIST(V) \ | 49 #define VISITOR_ID_LIST(V) \ |
50 V(SeqOneByteString) \ | 50 V(SeqOneByteString) \ |
51 V(SeqTwoByteString) \ | 51 V(SeqTwoByteString) \ |
52 V(ShortcutCandidate) \ | 52 V(ShortcutCandidate) \ |
53 V(ByteArray) \ | 53 V(ByteArray) \ |
54 V(FreeSpace) \ | 54 V(FreeSpace) \ |
55 V(FixedArray) \ | 55 V(FixedArray) \ |
56 V(FixedDoubleArray) \ | 56 V(FixedDoubleArray) \ |
57 V(NativeContext) \ | 57 V(NativeContext) \ |
58 V(AllocationSite) \ | |
58 V(DataObject2) \ | 59 V(DataObject2) \ |
59 V(DataObject3) \ | 60 V(DataObject3) \ |
60 V(DataObject4) \ | 61 V(DataObject4) \ |
61 V(DataObject5) \ | 62 V(DataObject5) \ |
62 V(DataObject6) \ | 63 V(DataObject6) \ |
63 V(DataObject7) \ | 64 V(DataObject7) \ |
64 V(DataObject8) \ | 65 V(DataObject8) \ |
65 V(DataObject9) \ | 66 V(DataObject9) \ |
66 V(DataObjectGeneric) \ | 67 V(DataObjectGeneric) \ |
67 V(JSObject2) \ | 68 V(JSObject2) \ |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
413 protected: | 414 protected: |
414 INLINE(static void VisitMap(Map* map, HeapObject* object)); | 415 INLINE(static void VisitMap(Map* map, HeapObject* object)); |
415 INLINE(static void VisitCode(Map* map, HeapObject* object)); | 416 INLINE(static void VisitCode(Map* map, HeapObject* object)); |
416 INLINE(static void VisitSharedFunctionInfo(Map* map, HeapObject* object)); | 417 INLINE(static void VisitSharedFunctionInfo(Map* map, HeapObject* object)); |
417 INLINE(static void VisitJSFunction(Map* map, HeapObject* object)); | 418 INLINE(static void VisitJSFunction(Map* map, HeapObject* object)); |
418 INLINE(static void VisitJSRegExp(Map* map, HeapObject* object)); | 419 INLINE(static void VisitJSRegExp(Map* map, HeapObject* object)); |
419 INLINE(static void VisitJSArrayBuffer(Map* map, HeapObject* object)); | 420 INLINE(static void VisitJSArrayBuffer(Map* map, HeapObject* object)); |
420 INLINE(static void VisitJSTypedArray(Map* map, HeapObject* object)); | 421 INLINE(static void VisitJSTypedArray(Map* map, HeapObject* object)); |
421 INLINE(static void VisitJSDataView(Map* map, HeapObject* object)); | 422 INLINE(static void VisitJSDataView(Map* map, HeapObject* object)); |
422 INLINE(static void VisitNativeContext(Map* map, HeapObject* object)); | 423 INLINE(static void VisitNativeContext(Map* map, HeapObject* object)); |
424 INLINE(static void VisitAllocationSite(Map* map, HeapObject* object)); | |
Michael Starzinger
2013/07/16 18:14:46
This is obsolete, see comment in the objects-visit
mvstanton
2013/07/16 19:34:57
Done.
| |
423 | 425 |
424 // Mark pointers in a Map and its TransitionArray together, possibly | 426 // Mark pointers in a Map and its TransitionArray together, possibly |
425 // treating transitions or back pointers weak. | 427 // treating transitions or back pointers weak. |
426 static void MarkMapContents(Heap* heap, Map* map); | 428 static void MarkMapContents(Heap* heap, Map* map); |
427 static void MarkTransitionArray(Heap* heap, TransitionArray* transitions); | 429 static void MarkTransitionArray(Heap* heap, TransitionArray* transitions); |
428 | 430 |
429 // Code flushing support. | 431 // Code flushing support. |
430 INLINE(static bool IsFlushable(Heap* heap, JSFunction* function)); | 432 INLINE(static bool IsFlushable(Heap* heap, JSFunction* function)); |
431 INLINE(static bool IsFlushable(Heap* heap, SharedFunctionInfo* shared_info)); | 433 INLINE(static bool IsFlushable(Heap* heap, SharedFunctionInfo* shared_info)); |
432 | 434 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
466 | 468 |
467 | 469 |
468 template<typename StaticVisitor> | 470 template<typename StaticVisitor> |
469 VisitorDispatchTable<typename StaticMarkingVisitor<StaticVisitor>::Callback> | 471 VisitorDispatchTable<typename StaticMarkingVisitor<StaticVisitor>::Callback> |
470 StaticMarkingVisitor<StaticVisitor>::table_; | 472 StaticMarkingVisitor<StaticVisitor>::table_; |
471 | 473 |
472 | 474 |
473 } } // namespace v8::internal | 475 } } // namespace v8::internal |
474 | 476 |
475 #endif // V8_OBJECTS_VISITING_H_ | 477 #endif // V8_OBJECTS_VISITING_H_ |
OLD | NEW |