| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 table_.Register(kVisitSeqAsciiString, &VisitSeqAsciiString); | 66 table_.Register(kVisitSeqAsciiString, &VisitSeqAsciiString); |
| 67 | 67 |
| 68 table_.Register(kVisitSeqTwoByteString, &VisitSeqTwoByteString); | 68 table_.Register(kVisitSeqTwoByteString, &VisitSeqTwoByteString); |
| 69 | 69 |
| 70 table_.Register(kVisitJSFunction, | 70 table_.Register(kVisitJSFunction, |
| 71 &JSObjectVisitor:: | 71 &JSObjectVisitor:: |
| 72 template VisitSpecialized<JSFunction::kSize>); | 72 template VisitSpecialized<JSFunction::kSize>); |
| 73 | 73 |
| 74 table_.Register(kVisitFreeSpace, &VisitFreeSpace); | 74 table_.Register(kVisitFreeSpace, &VisitFreeSpace); |
| 75 | 75 |
| 76 table_.Register(kVisitJSWeakMap, &JSObjectVisitor::Visit); |
| 77 |
| 76 table_.Register(kVisitJSRegExp, &JSObjectVisitor::Visit); | 78 table_.Register(kVisitJSRegExp, &JSObjectVisitor::Visit); |
| 77 | 79 |
| 78 table_.template RegisterSpecializations<DataObjectVisitor, | 80 table_.template RegisterSpecializations<DataObjectVisitor, |
| 79 kVisitDataObject, | 81 kVisitDataObject, |
| 80 kVisitDataObjectGeneric>(); | 82 kVisitDataObjectGeneric>(); |
| 81 | 83 |
| 82 table_.template RegisterSpecializations<JSObjectVisitor, | 84 table_.template RegisterSpecializations<JSObjectVisitor, |
| 83 kVisitJSObject, | 85 kVisitJSObject, |
| 84 kVisitJSObjectGeneric>(); | 86 kVisitJSObjectGeneric>(); |
| 85 table_.template RegisterSpecializations<StructVisitor, | 87 table_.template RegisterSpecializations<StructVisitor, |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 | 135 |
| 134 for (; !it.done(); it.next()) { | 136 for (; !it.done(); it.next()) { |
| 135 it.rinfo()->template Visit<StaticVisitor>(heap); | 137 it.rinfo()->template Visit<StaticVisitor>(heap); |
| 136 } | 138 } |
| 137 } | 139 } |
| 138 | 140 |
| 139 | 141 |
| 140 } } // namespace v8::internal | 142 } } // namespace v8::internal |
| 141 | 143 |
| 142 #endif // V8_OBJECTS_VISITING_INL_H_ | 144 #endif // V8_OBJECTS_VISITING_INL_H_ |
| OLD | NEW |