| Index: src/ic.cc
|
| diff --git a/src/ic.cc b/src/ic.cc
|
| index 9024605da54a6f111f54d180732906a083166807..1026f6d40f8f15d1e189e97addf96ff719153a34 100644
|
| --- a/src/ic.cc
|
| +++ b/src/ic.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2011 the V8 project authors. All rights reserved.
|
| +// Copyright 2012 the V8 project authors. All rights reserved.
|
| // Redistribution and use in source and binary forms, with or without
|
| // modification, are permitted provided that the following conditions are
|
| // met:
|
| @@ -1677,6 +1677,9 @@ MaybeObject* KeyedStoreIC::Store(State state,
|
| if (receiver->elements()->map() ==
|
| isolate()->heap()->non_strict_arguments_elements_map()) {
|
| stub = non_strict_arguments_stub();
|
| + } else if (receiver->elements()->map() ==
|
| + isolate()->heap()->fixed_cow_array_map()) {
|
| + // Do nothing, just keep the generic stub.
|
| } else if (!force_generic) {
|
| if (key->IsSmi() && (target() != *non_strict_arguments_stub())) {
|
| StubKind stub_kind = STORE_NO_TRANSITION;
|
|
|