| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 V(SlicedString) \ | 87 V(SlicedString) \ |
| 88 V(Symbol) \ | 88 V(Symbol) \ |
| 89 V(Oddball) \ | 89 V(Oddball) \ |
| 90 V(Code) \ | 90 V(Code) \ |
| 91 V(Map) \ | 91 V(Map) \ |
| 92 V(Cell) \ | 92 V(Cell) \ |
| 93 V(PropertyCell) \ | 93 V(PropertyCell) \ |
| 94 V(SharedFunctionInfo) \ | 94 V(SharedFunctionInfo) \ |
| 95 V(JSFunction) \ | 95 V(JSFunction) \ |
| 96 V(JSWeakMap) \ | 96 V(JSWeakMap) \ |
| 97 V(JSWeakSet) \ |
| 97 V(JSArrayBuffer) \ | 98 V(JSArrayBuffer) \ |
| 98 V(JSTypedArray) \ | 99 V(JSTypedArray) \ |
| 99 V(JSDataView) \ | 100 V(JSDataView) \ |
| 100 V(JSRegExp) | 101 V(JSRegExp) |
| 101 | 102 |
| 102 // 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 |
| 103 // can visit object of any size we provide visitors specialized by | 104 // can visit object of any size we provide visitors specialized by |
| 104 // object size in words. | 105 // object size in words. |
| 105 // Ids of specialized visitors are declared in a linear order (without | 106 // Ids of specialized visitors are declared in a linear order (without |
| 106 // 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... |
| 467 | 468 |
| 468 | 469 |
| 469 template<typename StaticVisitor> | 470 template<typename StaticVisitor> |
| 470 VisitorDispatchTable<typename StaticMarkingVisitor<StaticVisitor>::Callback> | 471 VisitorDispatchTable<typename StaticMarkingVisitor<StaticVisitor>::Callback> |
| 471 StaticMarkingVisitor<StaticVisitor>::table_; | 472 StaticMarkingVisitor<StaticVisitor>::table_; |
| 472 | 473 |
| 473 | 474 |
| 474 } } // namespace v8::internal | 475 } } // namespace v8::internal |
| 475 | 476 |
| 476 #endif // V8_OBJECTS_VISITING_H_ | 477 #endif // V8_OBJECTS_VISITING_H_ |
| OLD | NEW |