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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 RelocInfo::ModeMask(RelocInfo::EXTERNAL_REFERENCE) | | 122 RelocInfo::ModeMask(RelocInfo::EXTERNAL_REFERENCE) | |
123 RelocInfo::ModeMask(RelocInfo::JS_RETURN) | | 123 RelocInfo::ModeMask(RelocInfo::JS_RETURN) | |
124 RelocInfo::ModeMask(RelocInfo::DEBUG_BREAK_SLOT) | | 124 RelocInfo::ModeMask(RelocInfo::DEBUG_BREAK_SLOT) | |
125 RelocInfo::ModeMask(RelocInfo::RUNTIME_ENTRY); | 125 RelocInfo::ModeMask(RelocInfo::RUNTIME_ENTRY); |
126 | 126 |
127 StaticVisitor::VisitPointer( | 127 StaticVisitor::VisitPointer( |
128 heap, | 128 heap, |
129 reinterpret_cast<Object**>(this->address() + kRelocationInfoOffset)); | 129 reinterpret_cast<Object**>(this->address() + kRelocationInfoOffset)); |
130 StaticVisitor::VisitPointer( | 130 StaticVisitor::VisitPointer( |
131 heap, | 131 heap, |
| 132 reinterpret_cast<Object**>(this->address() + kHandlerTableOffset)); |
| 133 StaticVisitor::VisitPointer( |
| 134 heap, |
132 reinterpret_cast<Object**>(this->address() + kDeoptimizationDataOffset)); | 135 reinterpret_cast<Object**>(this->address() + kDeoptimizationDataOffset)); |
133 | 136 |
134 RelocIterator it(this, mode_mask); | 137 RelocIterator it(this, mode_mask); |
135 for (; !it.done(); it.next()) { | 138 for (; !it.done(); it.next()) { |
136 it.rinfo()->template Visit<StaticVisitor>(heap); | 139 it.rinfo()->template Visit<StaticVisitor>(heap); |
137 } | 140 } |
138 } | 141 } |
139 | 142 |
140 | 143 |
141 } } // namespace v8::internal | 144 } } // namespace v8::internal |
142 | 145 |
143 #endif // V8_OBJECTS_VISITING_INL_H_ | 146 #endif // V8_OBJECTS_VISITING_INL_H_ |
OLD | NEW |