Index: src/ia32/stub-cache-ia32.cc |
diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc |
index 0adb10173ed89fb2166228c30900a23726e48ed0..f6f424176b5dffa1f91e8143a4f12a91483b86b2 100644 |
--- a/src/ia32/stub-cache-ia32.cc |
+++ b/src/ia32/stub-cache-ia32.cc |
@@ -1053,7 +1053,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 && |