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/array-buffer-tracker.h" | 8 #include "src/heap/array-buffer-tracker.h" |
9 #include "src/heap/objects-visiting.h" | 9 #include "src/heap/objects-visiting.h" |
10 #include "src/ic/ic-state.h" | 10 #include "src/ic/ic-state.h" |
(...skipping 884 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
895 reinterpret_cast<Object**>(this->address() + kTypeFeedbackInfoOffset)); | 895 reinterpret_cast<Object**>(this->address() + kTypeFeedbackInfoOffset)); |
896 StaticVisitor::VisitNextCodeLink( | 896 StaticVisitor::VisitNextCodeLink( |
897 heap, reinterpret_cast<Object**>(this->address() + kNextCodeLinkOffset)); | 897 heap, reinterpret_cast<Object**>(this->address() + kNextCodeLinkOffset)); |
898 | 898 |
899 | 899 |
900 RelocIterator it(this, mode_mask); | 900 RelocIterator it(this, mode_mask); |
901 for (; !it.done(); it.next()) { | 901 for (; !it.done(); it.next()) { |
902 it.rinfo()->template Visit<StaticVisitor>(heap); | 902 it.rinfo()->template Visit<StaticVisitor>(heap); |
903 } | 903 } |
904 } | 904 } |
905 } | 905 } // namespace internal |
906 } // namespace v8::internal | 906 } // namespace v8 |
907 | 907 |
908 #endif // V8_OBJECTS_VISITING_INL_H_ | 908 #endif // V8_OBJECTS_VISITING_INL_H_ |
OLD | NEW |