| Index: src/ic.h
|
| diff --git a/src/ic.h b/src/ic.h
|
| index 435a5ce6f6be9fd7cd46659e6b0df85ff5348fb3..7e40131edf108aeee18fd9b3469f75ff54dce7fe 100644
|
| --- a/src/ic.h
|
| +++ b/src/ic.h
|
| @@ -555,6 +555,14 @@ class StoreIC: public IC {
|
| }
|
| }
|
|
|
| + virtual Handle<Code> slow_stub() const {
|
| + if (strict_mode() == kStrictMode) {
|
| + return isolate()->builtins()->StoreIC_Slow_Strict();
|
| + } else {
|
| + return isolate()->builtins()->StoreIC_Slow();
|
| + }
|
| + }
|
| +
|
| virtual Handle<Code> pre_monomorphic_stub() {
|
| return pre_monomorphic_stub(isolate(), strict_mode());
|
| }
|
| @@ -677,6 +685,13 @@ class KeyedStoreIC: public StoreIC {
|
| return isolate->builtins()->KeyedStoreIC_PreMonomorphic();
|
| }
|
| }
|
| + virtual Handle<Code> slow_stub() const {
|
| + if (strict_mode() == kStrictMode) {
|
| + return isolate()->builtins()->KeyedStoreIC_Slow_Strict();
|
| + } else {
|
| + return isolate()->builtins()->KeyedStoreIC_Slow();
|
| + }
|
| + }
|
| virtual Handle<Code> megamorphic_stub() {
|
| if (strict_mode() == kStrictMode) {
|
| return isolate()->builtins()->KeyedStoreIC_Generic_Strict();
|
|
|