| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_OBJECTS_VISITING_INL_H_ | 5 #ifndef V8_OBJECTS_VISITING_INL_H_ |
| 6 #define V8_OBJECTS_VISITING_INL_H_ | 6 #define V8_OBJECTS_VISITING_INL_H_ |
| 7 | 7 |
| 8 #include "src/heap/objects-visiting.h" | 8 #include "src/heap/objects-visiting.h" |
| 9 #include "src/ic/ic-state.h" |
| 10 #include "src/macro-assembler.h" |
| 9 | 11 |
| 10 namespace v8 { | 12 namespace v8 { |
| 11 namespace internal { | 13 namespace internal { |
| 12 | 14 |
| 13 template <typename StaticVisitor> | 15 template <typename StaticVisitor> |
| 14 void StaticNewSpaceVisitor<StaticVisitor>::Initialize() { | 16 void StaticNewSpaceVisitor<StaticVisitor>::Initialize() { |
| 15 table_.Register( | 17 table_.Register( |
| 16 kVisitShortcutCandidate, | 18 kVisitShortcutCandidate, |
| 17 &FixedBodyVisitor<StaticVisitor, ConsString::BodyDescriptor, int>::Visit); | 19 &FixedBodyVisitor<StaticVisitor, ConsString::BodyDescriptor, int>::Visit); |
| 18 | 20 |
| (...skipping 843 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 862 | 864 |
| 863 RelocIterator it(this, mode_mask); | 865 RelocIterator it(this, mode_mask); |
| 864 for (; !it.done(); it.next()) { | 866 for (; !it.done(); it.next()) { |
| 865 it.rinfo()->template Visit<StaticVisitor>(heap); | 867 it.rinfo()->template Visit<StaticVisitor>(heap); |
| 866 } | 868 } |
| 867 } | 869 } |
| 868 } | 870 } |
| 869 } // namespace v8::internal | 871 } // namespace v8::internal |
| 870 | 872 |
| 871 #endif // V8_OBJECTS_VISITING_INL_H_ | 873 #endif // V8_OBJECTS_VISITING_INL_H_ |
| OLD | NEW |