Index: src/compiler/js-generic-lowering.cc |
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
index 5631e6983093fd464a0124cf25f6fe0c3763c2e4..ea84818e60f0cf93a2da3ebe992e122d9db8a359 100644 |
--- a/src/compiler/js-generic-lowering.cc |
+++ b/src/compiler/js-generic-lowering.cc |
@@ -490,7 +490,8 @@ Node* JSGenericLowering::LowerJSStoreContext(Node* node) { |
} |
node->ReplaceInput(2, NodeProperties::GetValueInput(node, 1)); |
node->ReplaceInput(1, Int32Constant(Context::SlotOffset(access.index()))); |
- PatchOperator(node, machine()->Store(kMachAnyTagged, kFullWriteBarrier)); |
+ PatchOperator(node, machine()->Store(StoreRepresentation(kMachAnyTagged, |
+ kFullWriteBarrier))); |
return node; |
} |