| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 Context::ScavengeBodyDescriptor, | 61 Context::ScavengeBodyDescriptor, |
| 62 int>::Visit); | 62 int>::Visit); |
| 63 | 63 |
| 64 table_.Register(kVisitByteArray, &VisitByteArray); | 64 table_.Register(kVisitByteArray, &VisitByteArray); |
| 65 | 65 |
| 66 table_.Register(kVisitSharedFunctionInfo, | 66 table_.Register(kVisitSharedFunctionInfo, |
| 67 &FixedBodyVisitor<StaticVisitor, | 67 &FixedBodyVisitor<StaticVisitor, |
| 68 SharedFunctionInfo::BodyDescriptor, | 68 SharedFunctionInfo::BodyDescriptor, |
| 69 int>::Visit); | 69 int>::Visit); |
| 70 | 70 |
| 71 table_.Register(kVisitSeqAsciiString, &VisitSeqAsciiString); | 71 table_.Register(kVisitSeqOneByteString, &VisitSeqOneByteString); |
| 72 | 72 |
| 73 table_.Register(kVisitSeqTwoByteString, &VisitSeqTwoByteString); | 73 table_.Register(kVisitSeqTwoByteString, &VisitSeqTwoByteString); |
| 74 | 74 |
| 75 table_.Register(kVisitJSFunction, &VisitJSFunction); | 75 table_.Register(kVisitJSFunction, &VisitJSFunction); |
| 76 | 76 |
| 77 table_.Register(kVisitFreeSpace, &VisitFreeSpace); | 77 table_.Register(kVisitFreeSpace, &VisitFreeSpace); |
| 78 | 78 |
| 79 table_.Register(kVisitJSWeakMap, &JSObjectVisitor::Visit); | 79 table_.Register(kVisitJSWeakMap, &JSObjectVisitor::Visit); |
| 80 | 80 |
| 81 table_.Register(kVisitJSRegExp, &JSObjectVisitor::Visit); | 81 table_.Register(kVisitJSRegExp, &JSObjectVisitor::Visit); |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 void>::Visit); | 116 void>::Visit); |
| 117 | 117 |
| 118 table_.Register(kVisitFixedDoubleArray, &DataObjectVisitor::Visit); | 118 table_.Register(kVisitFixedDoubleArray, &DataObjectVisitor::Visit); |
| 119 | 119 |
| 120 table_.Register(kVisitNativeContext, &VisitNativeContext); | 120 table_.Register(kVisitNativeContext, &VisitNativeContext); |
| 121 | 121 |
| 122 table_.Register(kVisitByteArray, &DataObjectVisitor::Visit); | 122 table_.Register(kVisitByteArray, &DataObjectVisitor::Visit); |
| 123 | 123 |
| 124 table_.Register(kVisitFreeSpace, &DataObjectVisitor::Visit); | 124 table_.Register(kVisitFreeSpace, &DataObjectVisitor::Visit); |
| 125 | 125 |
| 126 table_.Register(kVisitSeqAsciiString, &DataObjectVisitor::Visit); | 126 table_.Register(kVisitSeqOneByteString, &DataObjectVisitor::Visit); |
| 127 | 127 |
| 128 table_.Register(kVisitSeqTwoByteString, &DataObjectVisitor::Visit); | 128 table_.Register(kVisitSeqTwoByteString, &DataObjectVisitor::Visit); |
| 129 | 129 |
| 130 table_.Register(kVisitJSWeakMap, &StaticVisitor::VisitJSWeakMap); | 130 table_.Register(kVisitJSWeakMap, &StaticVisitor::VisitJSWeakMap); |
| 131 | 131 |
| 132 table_.Register(kVisitOddball, | 132 table_.Register(kVisitOddball, |
| 133 &FixedBodyVisitor<StaticVisitor, | 133 &FixedBodyVisitor<StaticVisitor, |
| 134 Oddball::BodyDescriptor, | 134 Oddball::BodyDescriptor, |
| 135 void>::Visit); | 135 void>::Visit); |
| 136 | 136 |
| (...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 675 RelocIterator it(this, mode_mask); | 675 RelocIterator it(this, mode_mask); |
| 676 for (; !it.done(); it.next()) { | 676 for (; !it.done(); it.next()) { |
| 677 it.rinfo()->template Visit<StaticVisitor>(heap); | 677 it.rinfo()->template Visit<StaticVisitor>(heap); |
| 678 } | 678 } |
| 679 } | 679 } |
| 680 | 680 |
| 681 | 681 |
| 682 } } // namespace v8::internal | 682 } } // namespace v8::internal |
| 683 | 683 |
| 684 #endif // V8_OBJECTS_VISITING_INL_H_ | 684 #endif // V8_OBJECTS_VISITING_INL_H_ |
| OLD | NEW |