| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 table_.Register(kVisitConsString, | 42 table_.Register(kVisitConsString, |
| 43 &FixedBodyVisitor<StaticVisitor, | 43 &FixedBodyVisitor<StaticVisitor, |
| 44 ConsString::BodyDescriptor, | 44 ConsString::BodyDescriptor, |
| 45 int>::Visit); | 45 int>::Visit); |
| 46 | 46 |
| 47 table_.Register(kVisitFixedArray, | 47 table_.Register(kVisitFixedArray, |
| 48 &FlexibleBodyVisitor<StaticVisitor, | 48 &FlexibleBodyVisitor<StaticVisitor, |
| 49 FixedArray::BodyDescriptor, | 49 FixedArray::BodyDescriptor, |
| 50 int>::Visit); | 50 int>::Visit); |
| 51 | 51 |
| 52 table_.Register(kVisitFixedDoubleArray, &VisitFixedDoubleArray); |
| 53 |
| 52 table_.Register(kVisitGlobalContext, | 54 table_.Register(kVisitGlobalContext, |
| 53 &FixedBodyVisitor<StaticVisitor, | 55 &FixedBodyVisitor<StaticVisitor, |
| 54 Context::ScavengeBodyDescriptor, | 56 Context::ScavengeBodyDescriptor, |
| 55 int>::Visit); | 57 int>::Visit); |
| 56 | 58 |
| 57 table_.Register(kVisitByteArray, &VisitByteArray); | 59 table_.Register(kVisitByteArray, &VisitByteArray); |
| 58 | 60 |
| 59 table_.Register(kVisitSharedFunctionInfo, | 61 table_.Register(kVisitSharedFunctionInfo, |
| 60 &FixedBodyVisitor<StaticVisitor, | 62 &FixedBodyVisitor<StaticVisitor, |
| 61 SharedFunctionInfo::BodyDescriptor, | 63 SharedFunctionInfo::BodyDescriptor, |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 | 133 |
| 132 for (; !it.done(); it.next()) { | 134 for (; !it.done(); it.next()) { |
| 133 it.rinfo()->template Visit<StaticVisitor>(heap); | 135 it.rinfo()->template Visit<StaticVisitor>(heap); |
| 134 } | 136 } |
| 135 } | 137 } |
| 136 | 138 |
| 137 | 139 |
| 138 } } // namespace v8::internal | 140 } } // namespace v8::internal |
| 139 | 141 |
| 140 #endif // V8_OBJECTS_VISITING_INL_H_ | 142 #endif // V8_OBJECTS_VISITING_INL_H_ |
| OLD | NEW |