Index: src/arm/stub-cache-arm.cc |
diff --git a/src/arm/stub-cache-arm.cc b/src/arm/stub-cache-arm.cc |
index cf2d4e2064f8fade86711ac58a78bcd6f0b59b2e..33fbee52d6c4db01f962f7c0030e58b1a44d06c8 100644 |
--- a/src/arm/stub-cache-arm.cc |
+++ b/src/arm/stub-cache-arm.cc |
@@ -1179,7 +1179,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 && |