Index: src/x64/stub-cache-x64.cc |
diff --git a/src/x64/stub-cache-x64.cc b/src/x64/stub-cache-x64.cc |
index 47c217792c860d29cb251228933076dd20bcfc6a..a6e1b833c1855e2e2fc4f5e0339b49e0bd0e603e 100644 |
--- a/src/x64/stub-cache-x64.cc |
+++ b/src/x64/stub-cache-x64.cc |
@@ -1045,7 +1045,7 @@ void StubCompiler::GenerateLoadInterceptor(Handle<JSObject> object, |
// and CALLBACKS, so inline only them, other cases may be added |
// later. |
bool compile_followup_inline = false; |
- if (lookup->IsProperty() && lookup->IsCacheable()) { |
+ if (lookup->IsFound() && lookup->IsCacheable()) { |
if (lookup->type() == FIELD) { |
compile_followup_inline = true; |
} else if (lookup->type() == CALLBACKS && |