Index: src/compiler/code-generator.cc |
diff --git a/src/compiler/code-generator.cc b/src/compiler/code-generator.cc |
index 1d3045231ae5dc390113b5ac2b04fe1fc3e8d625..c588ae2358a64c4f6add590a75d30f4a73edc6ab 100644 |
--- a/src/compiler/code-generator.cc |
+++ b/src/compiler/code-generator.cc |
@@ -281,21 +281,6 @@ void CodeGenerator::RecordSafepoint(ReferenceMap* references, |
} |
} |
-bool CodeGenerator::IsMaterializableFromFrame(Handle<HeapObject> object, |
- int* slot_return) { |
- if (linkage()->GetIncomingDescriptor()->IsJSFunctionCall()) { |
- if (*object == info()->context() && !info()->is_osr()) { |
- *slot_return = Frame::kContextSlot; |
- return true; |
- } else if (object.is_identical_to(info()->closure())) { |
- *slot_return = Frame::kJSFunctionSlot; |
- return true; |
- } |
- } |
- return false; |
-} |
- |
- |
bool CodeGenerator::IsMaterializableFromRoot( |
Handle<HeapObject> object, Heap::RootListIndex* index_return) { |
const CallDescriptor* incoming_descriptor = |