[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:
Michael Starzinger 2017-10-25 17:40:51 +02:00 committed by Commit Bot
parent 913d5ba508
commit 873ab3df7b
2 changed files with 0 additions and 7 deletions

View File

@ -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);

View File

@ -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.