| Index: src/mips/lithium-codegen-mips.cc
|
| diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc
|
| index 34883f71fcc5dc221747f4eb7654bfa1a45c5632..7a230c1fac6d71c1924c989b4afe7383644e1612 100644
|
| --- a/src/mips/lithium-codegen-mips.cc
|
| +++ b/src/mips/lithium-codegen-mips.cc
|
| @@ -2269,7 +2269,7 @@ void LCodeGen::EmitLoadFieldOrConstantFunction(Register result,
|
| Handle<String> name) {
|
| LookupResult lookup(isolate());
|
| type->LookupInDescriptors(NULL, *name, &lookup);
|
| - ASSERT(lookup.IsProperty() &&
|
| + ASSERT(lookup.IsFound() &&
|
| (lookup.type() == FIELD || lookup.type() == CONSTANT_FUNCTION));
|
| if (lookup.type() == FIELD) {
|
| int index = lookup.GetLocalFieldIndexFromMap(*type);
|
|
|