[objects] Remove dead {Code::InvalidateRelocation}.
R=jarin@chromium.org BUG=v8:6792 Change-Id: I76e9acb96cd89d4de163e533a1007c91f6b9970f Reviewed-on: https://chromium-review.googlesource.com/738034 Reviewed-by: Jaroslav Sevcik <jarin@chromium.org> Commit-Queue: Michael Starzinger <mstarzinger@chromium.org> Cr-Commit-Position: refs/heads/master@{#48952}
This commit is contained in:
parent
913d5ba508
commit
873ab3df7b
@ -13864,12 +13864,6 @@ void ObjectVisitor::VisitEmbeddedPointer(Code* host, RelocInfo* rinfo) {
|
||||
}
|
||||
|
||||
|
||||
void Code::InvalidateRelocation() {
|
||||
InvalidateEmbeddedObjects();
|
||||
set_relocation_info(GetHeap()->empty_byte_array());
|
||||
}
|
||||
|
||||
|
||||
void Code::InvalidateEmbeddedObjects() {
|
||||
HeapObject* undefined = GetHeap()->undefined_value();
|
||||
int mode_mask = RelocInfo::ModeMask(RelocInfo::EMBEDDED_OBJECT);
|
||||
|
@ -146,7 +146,6 @@ class Code : public HeapObject {
|
||||
|
||||
// [relocation_info]: Code relocation information
|
||||
DECL_ACCESSORS(relocation_info, ByteArray)
|
||||
void InvalidateRelocation();
|
||||
void InvalidateEmbeddedObjects();
|
||||
|
||||
// [handler_table]: Fixed array containing offsets of exception handlers.
|
||||
|
Loading…
Reference in New Issue
Block a user