Index: src/compiler/code-generator.h |
diff --git a/src/compiler/code-generator.h b/src/compiler/code-generator.h |
index dff58fac4af38cfe07ac29a6a22d08cae1323b4f..f1e99ec8d2817880df0b1892c407b341ac80ecd1 100644 |
--- a/src/compiler/code-generator.h |
+++ b/src/compiler/code-generator.h |
@@ -77,7 +77,7 @@ class CodeGenerator final : public GapResolver::Assembler { |
// 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* offset_return); |
+ 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. |