Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 350ff6f4d79079d02aba812a64eb5afe5e0e175d..e0512147735ca5b6d3260c4ff63a5cb098b045e6 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -2142,7 +2142,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); |