Chromium Code Reviews| Index: src/ic.cc |
| =================================================================== |
| --- src/ic.cc (revision 6456) |
| +++ src/ic.cc (working copy) |
| @@ -1197,7 +1197,9 @@ |
| MaybeObject* probe = |
| StubCache::ComputeKeyedLoadOrStoreExternalArray(*receiver, false); |
| stub = |
| - probe->IsFailure() ? NULL : Code::cast(probe->ToObjectUnchecked()); |
| + probe->IsFailure() ? NULL : Code::cast(probe->ToObjectUnchecked()); |
| + } else if (receiver->HasPixelElements()) { |
| + stub = pixel_array_stub(); |
|
Mads Ager (chromium)
2011/01/25 14:49:17
Let's remove the pixel array code in the generic s
danno
2011/01/25 20:56:29
This occurred to me too, but I actually think we s
Mads Ager (chromium)
2011/01/26 08:10:21
True, we don't deal with it in that case and I gue
|
| } else if (receiver->HasIndexedInterceptor()) { |
| stub = indexed_interceptor_stub(); |
| } else if (state == UNINITIALIZED && |