Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index a5c96b01fabd527c94689afd677d0247718e7ec4..976b23448df38cc2b902e6222db918263764ebde 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -2216,7 +2216,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); |