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