Chromium Code Reviews| Index: src/x64/stub-cache-x64.cc |
| =================================================================== |
| --- src/x64/stub-cache-x64.cc (revision 3900) |
| +++ src/x64/stub-cache-x64.cc (working copy) |
| @@ -399,7 +399,7 @@ |
| stub_compiler->CheckPrototypes(object, receiver, holder, |
| scratch1, scratch2, name, miss); |
| - if (lookup->IsValid() && lookup->IsCacheable()) { |
| + if (lookup->IsProperty() && lookup->IsCacheable()) { |
| compiler->CompileCacheable(masm, |
| stub_compiler, |
| receiver, |