| 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 18 matching lines...) Expand all Loading... |
| 86 V(SlicedString) \ | 87 V(SlicedString) \ |
| 87 V(Symbol) \ | 88 V(Symbol) \ |
| 88 V(Oddball) \ | 89 V(Oddball) \ |
| 89 V(Code) \ | 90 V(Code) \ |
| 90 V(Map) \ | 91 V(Map) \ |
| 91 V(Cell) \ | 92 V(Cell) \ |
| 92 V(PropertyCell) \ | 93 V(PropertyCell) \ |
| 93 V(SharedFunctionInfo) \ | 94 V(SharedFunctionInfo) \ |
| 94 V(JSFunction) \ | 95 V(JSFunction) \ |
| 95 V(JSWeakMap) \ | 96 V(JSWeakMap) \ |
| 97 V(JSWeakSet) \ |
| 96 V(JSArrayBuffer) \ | 98 V(JSArrayBuffer) \ |
| 97 V(JSTypedArray) \ | 99 V(JSTypedArray) \ |
| 98 V(JSDataView) \ | 100 V(JSDataView) \ |
| 99 V(JSRegExp) | 101 V(JSRegExp) |
| 100 | 102 |
| 101 // For data objects, JS objects and structs along with generic visitor which | 103 // For data objects, JS objects and structs along with generic visitor which |
| 102 // can visit object of any size we provide visitors specialized by | 104 // can visit object of any size we provide visitors specialized by |
| 103 // object size in words. | 105 // object size in words. |
| 104 // Ids of specialized visitors are declared in a linear order (without | 106 // Ids of specialized visitors are declared in a linear order (without |
| 105 // holes) starting from the id of visitor specialized for 2 words objects | 107 // holes) starting from the id of visitor specialized for 2 words objects |
| (...skipping 360 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 |