Index: src/compiler/code-generator.h |
diff --git a/src/compiler/code-generator.h b/src/compiler/code-generator.h |
index 22ba727983170eceb4583eb527b8f7b3b52ae374..781c49d882c885f7bda876a5fe82bd3bf9a89ac4 100644 |
--- a/src/compiler/code-generator.h |
+++ b/src/compiler/code-generator.h |
@@ -86,9 +86,6 @@ class CodeGenerator final : public GapResolver::Assembler { |
void RecordSafepoint(ReferenceMap* references, Safepoint::Kind kind, |
int arguments, Safepoint::DeoptMode deopt_mode); |
- // Check if a heap object can be materialized by loading from the frame, which |
- // is usually way cheaper than materializing the actual heap object constant. |
- bool IsMaterializableFromFrame(Handle<HeapObject> object, int* slot_return); |
// Check if a heap object can be materialized by loading from a heap root, |
// which is cheaper on some platforms than materializing the actual heap |
// object constant. |