Index: src/compiler/js-intrinsic-lowering.cc |
diff --git a/src/compiler/js-intrinsic-lowering.cc b/src/compiler/js-intrinsic-lowering.cc |
index 71fd0e95734fdda8f7c7650ecb7da36e0de50286..6795317cffd34e72c4293f825c4baa9211c05ee7 100644 |
--- a/src/compiler/js-intrinsic-lowering.cc |
+++ b/src/compiler/js-intrinsic-lowering.cc |
@@ -294,7 +294,8 @@ Reduction JSIntrinsicLowering::ReduceStringGetLength(Node* node) { |
Node* value = NodeProperties::GetValueInput(node, 0); |
Node* effect = NodeProperties::GetEffectInput(node); |
Node* control = NodeProperties::GetControlInput(node); |
- return Change(node, simplified()->LoadField(AccessBuilder::ForStringLength()), |
+ return Change(node, simplified()->LoadField( |
+ AccessBuilder::ForStringLength(graph()->zone())), |
value, effect, control); |
} |