| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 &FixedBodyVisitor<StaticVisitor, | 53 &FixedBodyVisitor<StaticVisitor, |
| 54 Symbol::BodyDescriptor, | 54 Symbol::BodyDescriptor, |
| 55 int>::Visit); | 55 int>::Visit); |
| 56 | 56 |
| 57 table_.Register(kVisitFixedArray, | 57 table_.Register(kVisitFixedArray, |
| 58 &FlexibleBodyVisitor<StaticVisitor, | 58 &FlexibleBodyVisitor<StaticVisitor, |
| 59 FixedArray::BodyDescriptor, | 59 FixedArray::BodyDescriptor, |
| 60 int>::Visit); | 60 int>::Visit); |
| 61 | 61 |
| 62 table_.Register(kVisitFixedDoubleArray, &VisitFixedDoubleArray); | 62 table_.Register(kVisitFixedDoubleArray, &VisitFixedDoubleArray); |
| 63 table_.Register(kVisitFixedTypedArray, &VisitFixedTypedArray); |
| 64 table_.Register(kVisitFixedFloat64Array, &VisitFixedTypedArray); |
| 63 | 65 |
| 64 table_.Register(kVisitNativeContext, | 66 table_.Register(kVisitNativeContext, |
| 65 &FixedBodyVisitor<StaticVisitor, | 67 &FixedBodyVisitor<StaticVisitor, |
| 66 Context::ScavengeBodyDescriptor, | 68 Context::ScavengeBodyDescriptor, |
| 67 int>::Visit); | 69 int>::Visit); |
| 68 | 70 |
| 69 table_.Register(kVisitByteArray, &VisitByteArray); | 71 table_.Register(kVisitByteArray, &VisitByteArray); |
| 70 | 72 |
| 71 table_.Register(kVisitSharedFunctionInfo, | 73 table_.Register(kVisitSharedFunctionInfo, |
| 72 &FixedBodyVisitor<StaticVisitor, | 74 &FixedBodyVisitor<StaticVisitor, |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 | 180 |
| 179 table_.Register(kVisitSymbol, | 181 table_.Register(kVisitSymbol, |
| 180 &FixedBodyVisitor<StaticVisitor, | 182 &FixedBodyVisitor<StaticVisitor, |
| 181 Symbol::BodyDescriptor, | 183 Symbol::BodyDescriptor, |
| 182 void>::Visit); | 184 void>::Visit); |
| 183 | 185 |
| 184 table_.Register(kVisitFixedArray, &FixedArrayVisitor::Visit); | 186 table_.Register(kVisitFixedArray, &FixedArrayVisitor::Visit); |
| 185 | 187 |
| 186 table_.Register(kVisitFixedDoubleArray, &DataObjectVisitor::Visit); | 188 table_.Register(kVisitFixedDoubleArray, &DataObjectVisitor::Visit); |
| 187 | 189 |
| 190 table_.Register(kVisitFixedTypedArray, &DataObjectVisitor::Visit); |
| 191 |
| 192 table_.Register(kVisitFixedFloat64Array, &DataObjectVisitor::Visit); |
| 193 |
| 188 table_.Register(kVisitConstantPoolArray, &VisitConstantPoolArray); | 194 table_.Register(kVisitConstantPoolArray, &VisitConstantPoolArray); |
| 189 | 195 |
| 190 table_.Register(kVisitNativeContext, &VisitNativeContext); | 196 table_.Register(kVisitNativeContext, &VisitNativeContext); |
| 191 | 197 |
| 192 table_.Register(kVisitAllocationSite, &VisitAllocationSite); | 198 table_.Register(kVisitAllocationSite, &VisitAllocationSite); |
| 193 | 199 |
| 194 table_.Register(kVisitByteArray, &DataObjectVisitor::Visit); | 200 table_.Register(kVisitByteArray, &DataObjectVisitor::Visit); |
| 195 | 201 |
| 196 table_.Register(kVisitFreeSpace, &DataObjectVisitor::Visit); | 202 table_.Register(kVisitFreeSpace, &DataObjectVisitor::Visit); |
| 197 | 203 |
| (...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 934 RelocIterator it(this, mode_mask); | 940 RelocIterator it(this, mode_mask); |
| 935 for (; !it.done(); it.next()) { | 941 for (; !it.done(); it.next()) { |
| 936 it.rinfo()->template Visit<StaticVisitor>(heap); | 942 it.rinfo()->template Visit<StaticVisitor>(heap); |
| 937 } | 943 } |
| 938 } | 944 } |
| 939 | 945 |
| 940 | 946 |
| 941 } } // namespace v8::internal | 947 } } // namespace v8::internal |
| 942 | 948 |
| 943 #endif // V8_OBJECTS_VISITING_INL_H_ | 949 #endif // V8_OBJECTS_VISITING_INL_H_ |
| OLD | NEW |