Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 55beb3a2b9d5b6a535f12f9850d8e2da928a5d8a..0aa063bb628b3b1cbb8fbd28eaeadff91e1cc913 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -5399,6 +5399,10 @@ static bool ComputeLoadStoreField(Handle<Map> type, |
Handle<String> name, |
LookupResult* lookup, |
bool is_store) { |
+ if (type->has_named_interceptor()) { |
+ lookup->InterceptorResult(NULL); |
+ return false; |
+ } |
// If we directly find a field, the access can be inlined. |
type->LookupDescriptor(NULL, *name, lookup); |
if (lookup->IsField()) return true; |