| 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 | 196 |
| 197 // Registration for kVisitJSRegExp is done by StaticVisitor. | 197 // Registration for kVisitJSRegExp is done by StaticVisitor. |
| 198 | 198 |
| 199 table_.Register(kVisitCell, | 199 table_.Register(kVisitCell, |
| 200 &FixedBodyVisitor<StaticVisitor, | 200 &FixedBodyVisitor<StaticVisitor, |
| 201 Cell::BodyDescriptor, | 201 Cell::BodyDescriptor, |
| 202 void>::Visit); | 202 void>::Visit); |
| 203 | 203 |
| 204 table_.Register(kVisitPropertyCell, | 204 table_.Register(kVisitPropertyCell, |
| 205 &FixedBodyVisitor<StaticVisitor, | 205 &FixedBodyVisitor<StaticVisitor, |
| 206 JSGlobalPropertyCell::BodyDescriptor, | 206 PropertyCell::BodyDescriptor, |
| 207 void>::Visit); | 207 void>::Visit); |
| 208 | 208 |
| 209 table_.template RegisterSpecializations<DataObjectVisitor, | 209 table_.template RegisterSpecializations<DataObjectVisitor, |
| 210 kVisitDataObject, | 210 kVisitDataObject, |
| 211 kVisitDataObjectGeneric>(); | 211 kVisitDataObjectGeneric>(); |
| 212 | 212 |
| 213 table_.template RegisterSpecializations<JSObjectVisitor, | 213 table_.template RegisterSpecializations<JSObjectVisitor, |
| 214 kVisitJSObject, | 214 kVisitJSObject, |
| 215 kVisitJSObjectGeneric>(); | 215 kVisitJSObjectGeneric>(); |
| 216 | 216 |
| (...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 830 RelocIterator it(this, mode_mask); | 830 RelocIterator it(this, mode_mask); |
| 831 for (; !it.done(); it.next()) { | 831 for (; !it.done(); it.next()) { |
| 832 it.rinfo()->template Visit<StaticVisitor>(heap); | 832 it.rinfo()->template Visit<StaticVisitor>(heap); |
| 833 } | 833 } |
| 834 } | 834 } |
| 835 | 835 |
| 836 | 836 |
| 837 } } // namespace v8::internal | 837 } } // namespace v8::internal |
| 838 | 838 |
| 839 #endif // V8_OBJECTS_VISITING_INL_H_ | 839 #endif // V8_OBJECTS_VISITING_INL_H_ |
| OLD | NEW |