OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_H_ | 5 #ifndef V8_OBJECTS_H_ |
6 #define V8_OBJECTS_H_ | 6 #define V8_OBJECTS_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
(...skipping 10180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10191 | 10191 |
10192 // Visits a code entry in a JS function. | 10192 // Visits a code entry in a JS function. |
10193 virtual void VisitCodeEntry(Address entry_address); | 10193 virtual void VisitCodeEntry(Address entry_address); |
10194 | 10194 |
10195 // Visits a global property cell reference in the instruction stream. | 10195 // Visits a global property cell reference in the instruction stream. |
10196 virtual void VisitCell(RelocInfo* rinfo); | 10196 virtual void VisitCell(RelocInfo* rinfo); |
10197 | 10197 |
10198 // Visits a runtime entry in the instruction stream. | 10198 // Visits a runtime entry in the instruction stream. |
10199 virtual void VisitRuntimeEntry(RelocInfo* rinfo) {} | 10199 virtual void VisitRuntimeEntry(RelocInfo* rinfo) {} |
10200 | 10200 |
10201 // Visits the resource of an one-byte or two-byte string. | |
10202 virtual void VisitExternalOneByteString( | |
10203 v8::String::ExternalOneByteStringResource** resource) {} | |
10204 virtual void VisitExternalTwoByteString( | |
10205 v8::String::ExternalStringResource** resource) {} | |
10206 | |
10207 // Visits a debug call target in the instruction stream. | 10201 // Visits a debug call target in the instruction stream. |
10208 virtual void VisitDebugTarget(RelocInfo* rinfo); | 10202 virtual void VisitDebugTarget(RelocInfo* rinfo); |
10209 | 10203 |
10210 // Visits the byte sequence in a function's prologue that contains information | 10204 // Visits the byte sequence in a function's prologue that contains information |
10211 // about the code's age. | 10205 // about the code's age. |
10212 virtual void VisitCodeAgeSequence(RelocInfo* rinfo); | 10206 virtual void VisitCodeAgeSequence(RelocInfo* rinfo); |
10213 | 10207 |
10214 // Visit pointer embedded into a code object. | 10208 // Visit pointer embedded into a code object. |
10215 virtual void VisitEmbeddedPointer(RelocInfo* rinfo); | 10209 virtual void VisitEmbeddedPointer(RelocInfo* rinfo); |
10216 | 10210 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10250 } | 10244 } |
10251 }; | 10245 }; |
10252 | 10246 |
10253 | 10247 |
10254 } // NOLINT, false-positive due to second-order macros. | 10248 } // NOLINT, false-positive due to second-order macros. |
10255 } // NOLINT, false-positive due to second-order macros. | 10249 } // NOLINT, false-positive due to second-order macros. |
10256 | 10250 |
10257 #include "src/objects/object-macros-undef.h" | 10251 #include "src/objects/object-macros-undef.h" |
10258 | 10252 |
10259 #endif // V8_OBJECTS_H_ | 10253 #endif // V8_OBJECTS_H_ |
OLD | NEW |