Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index e0633d5420bcd6b35041a20e14c8aa876853c9af..36c67d00bb37b415eb37db958f5271631e999bff 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -2577,7 +2577,7 @@ void LCodeGen::EmitLoadFieldOrConstantFunction(Register result, |
Handle<String> name, |
LEnvironment* env) { |
LookupResult lookup(isolate()); |
- type->LookupInDescriptors(NULL, *name, &lookup); |
+ type->LookupTransitionOrDescriptor(NULL, *name, &lookup); |
ASSERT(lookup.IsFound() || lookup.IsCacheable()); |
if (lookup.IsField()) { |
int index = lookup.GetLocalFieldIndexFromMap(*type); |