Index: src/compiler/js-typed-lowering.cc |
diff --git a/src/compiler/js-typed-lowering.cc b/src/compiler/js-typed-lowering.cc |
index a373c17d7a60fe6c2576752f58502576bed6349d..70ddd3426d8d9194630b53b624123d555cbb692a 100644 |
--- a/src/compiler/js-typed-lowering.cc |
+++ b/src/compiler/js-typed-lowering.cc |
@@ -826,7 +826,7 @@ Reduction JSTypedLowering::ReduceJSLoadNamed(Node* node) { |
Type* receiver_type = NodeProperties::GetType(receiver); |
Node* effect = NodeProperties::GetEffectInput(node); |
Node* control = NodeProperties::GetControlInput(node); |
- Handle<Name> name = LoadNamedParametersOf(node->op()).name(); |
+ Handle<Name> name = NamedAccessOf(node->op()).name(); |
// Optimize "length" property of strings. |
if (name.is_identical_to(factory()->length_string()) && |
receiver_type->Is(Type::String())) { |