Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 0e050fea1d589da2e17769d37b4028447f51cb8d..080785725fb09cc8ddb1cd9fa17b3249841be48f 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -2387,7 +2387,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); |