| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 table_.Register(kVisitJSArrayBuffer, &VisitJSArrayBuffer); | 82 table_.Register(kVisitJSArrayBuffer, &VisitJSArrayBuffer); |
| 83 | 83 |
| 84 table_.Register(kVisitJSTypedArray, &VisitJSTypedArray); | 84 table_.Register(kVisitJSTypedArray, &VisitJSTypedArray); |
| 85 | 85 |
| 86 table_.Register(kVisitJSDataView, &VisitJSDataView); | 86 table_.Register(kVisitJSDataView, &VisitJSDataView); |
| 87 | 87 |
| 88 table_.Register(kVisitFreeSpace, &VisitFreeSpace); | 88 table_.Register(kVisitFreeSpace, &VisitFreeSpace); |
| 89 | 89 |
| 90 table_.Register(kVisitJSWeakMap, &JSObjectVisitor::Visit); | 90 table_.Register(kVisitJSWeakMap, &JSObjectVisitor::Visit); |
| 91 | 91 |
| 92 table_.Register(kVisitJSWeakSet, &JSObjectVisitor::Visit); |
| 93 |
| 92 table_.Register(kVisitJSRegExp, &JSObjectVisitor::Visit); | 94 table_.Register(kVisitJSRegExp, &JSObjectVisitor::Visit); |
| 93 | 95 |
| 94 table_.template RegisterSpecializations<DataObjectVisitor, | 96 table_.template RegisterSpecializations<DataObjectVisitor, |
| 95 kVisitDataObject, | 97 kVisitDataObject, |
| 96 kVisitDataObjectGeneric>(); | 98 kVisitDataObjectGeneric>(); |
| 97 | 99 |
| 98 table_.template RegisterSpecializations<JSObjectVisitor, | 100 table_.template RegisterSpecializations<JSObjectVisitor, |
| 99 kVisitJSObject, | 101 kVisitJSObject, |
| 100 kVisitJSObjectGeneric>(); | 102 kVisitJSObjectGeneric>(); |
| 101 table_.template RegisterSpecializations<StructVisitor, | 103 table_.template RegisterSpecializations<StructVisitor, |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 void>::Visit); | 193 void>::Visit); |
| 192 | 194 |
| 193 table_.Register(kVisitByteArray, &DataObjectVisitor::Visit); | 195 table_.Register(kVisitByteArray, &DataObjectVisitor::Visit); |
| 194 | 196 |
| 195 table_.Register(kVisitFreeSpace, &DataObjectVisitor::Visit); | 197 table_.Register(kVisitFreeSpace, &DataObjectVisitor::Visit); |
| 196 | 198 |
| 197 table_.Register(kVisitSeqOneByteString, &DataObjectVisitor::Visit); | 199 table_.Register(kVisitSeqOneByteString, &DataObjectVisitor::Visit); |
| 198 | 200 |
| 199 table_.Register(kVisitSeqTwoByteString, &DataObjectVisitor::Visit); | 201 table_.Register(kVisitSeqTwoByteString, &DataObjectVisitor::Visit); |
| 200 | 202 |
| 201 table_.Register(kVisitJSWeakMap, &StaticVisitor::VisitJSWeakMap); | 203 table_.Register(kVisitJSWeakMap, &StaticVisitor::VisitWeakCollection); |
| 204 |
| 205 table_.Register(kVisitJSWeakSet, &StaticVisitor::VisitWeakCollection); |
| 202 | 206 |
| 203 table_.Register(kVisitOddball, | 207 table_.Register(kVisitOddball, |
| 204 &FixedBodyVisitor<StaticVisitor, | 208 &FixedBodyVisitor<StaticVisitor, |
| 205 Oddball::BodyDescriptor, | 209 Oddball::BodyDescriptor, |
| 206 void>::Visit); | 210 void>::Visit); |
| 207 | 211 |
| 208 table_.Register(kVisitMap, &VisitMap); | 212 table_.Register(kVisitMap, &VisitMap); |
| 209 | 213 |
| 210 table_.Register(kVisitCode, &VisitCode); | 214 table_.Register(kVisitCode, &VisitCode); |
| 211 | 215 |
| (...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 878 RelocIterator it(this, mode_mask); | 882 RelocIterator it(this, mode_mask); |
| 879 for (; !it.done(); it.next()) { | 883 for (; !it.done(); it.next()) { |
| 880 it.rinfo()->template Visit<StaticVisitor>(heap); | 884 it.rinfo()->template Visit<StaticVisitor>(heap); |
| 881 } | 885 } |
| 882 } | 886 } |
| 883 | 887 |
| 884 | 888 |
| 885 } } // namespace v8::internal | 889 } } // namespace v8::internal |
| 886 | 890 |
| 887 #endif // V8_OBJECTS_VISITING_INL_H_ | 891 #endif // V8_OBJECTS_VISITING_INL_H_ |
| OLD | NEW |