Index: src/ic/ic.cc |
diff --git a/src/ic/ic.cc b/src/ic/ic.cc |
index 0c5867d2a33c52aa9f46c82c76f2ddc61c008937..f3541f52b5effdd7d8bb2f9d6d6c42d528393682 100644 |
--- a/src/ic/ic.cc |
+++ b/src/ic/ic.cc |
@@ -213,16 +213,6 @@ Code* IC::GetCode() const { |
} |
-Code* IC::GetOriginalCode() const { |
- HandleScope scope(isolate()); |
- Handle<SharedFunctionInfo> shared(GetSharedFunctionInfo(), isolate()); |
- DCHECK(Debug::HasDebugInfo(shared)); |
- Code* original_code = Debug::GetDebugInfo(shared)->original_code(); |
- DCHECK(original_code->IsCode()); |
- return original_code; |
-} |
- |
- |
bool IC::AddressIsOptimizedCode() const { |
Code* host = |
isolate()->inner_pointer_to_code_cache()->GetCacheEntry(address())->code; |