| Index: src/ia32/ic-ia32.cc
|
| diff --git a/src/ia32/ic-ia32.cc b/src/ia32/ic-ia32.cc
|
| index 69f6e3a6bb583010c6e2470dc52b09b7c6cb30f0..bd6dcefe153661fd0029ef955b5ec81bb733a67f 100644
|
| --- a/src/ia32/ic-ia32.cc
|
| +++ b/src/ia32/ic-ia32.cc
|
| @@ -947,7 +947,8 @@ void KeyedStoreIC::GenerateGeneric(MacroAssembler* masm,
|
| }
|
|
|
|
|
| -void LoadIC::GenerateMegamorphic(MacroAssembler* masm) {
|
| +void LoadIC::GenerateMegamorphic(MacroAssembler* masm,
|
| + ExtraICState extra_state) {
|
| // ----------- S t a t e -------------
|
| // -- ecx : name
|
| // -- edx : receiver
|
| @@ -955,7 +956,9 @@ void LoadIC::GenerateMegamorphic(MacroAssembler* masm) {
|
| // -----------------------------------
|
|
|
| // Probe the stub cache.
|
| - Code::Flags flags = Code::ComputeHandlerFlags(Code::LOAD_IC);
|
| + Code::Flags flags = Code::ComputeFlags(
|
| + Code::HANDLER, MONOMORPHIC, extra_state,
|
| + Code::NORMAL, Code::LOAD_IC);
|
| masm->isolate()->stub_cache()->GenerateProbe(
|
| masm, flags, edx, ecx, ebx, eax);
|
|
|
| @@ -1061,14 +1064,17 @@ void KeyedLoadIC::GenerateRuntimeGetProperty(MacroAssembler* masm) {
|
| }
|
|
|
|
|
| -void StoreIC::GenerateMegamorphic(MacroAssembler* masm) {
|
| +void StoreIC::GenerateMegamorphic(MacroAssembler* masm,
|
| + ExtraICState extra_ic_state) {
|
| // ----------- S t a t e -------------
|
| // -- eax : value
|
| // -- ecx : name
|
| // -- edx : receiver
|
| // -- esp[0] : return address
|
| // -----------------------------------
|
| - Code::Flags flags = Code::ComputeHandlerFlags(Code::STORE_IC);
|
| + Code::Flags flags = Code::ComputeFlags(
|
| + Code::HANDLER, MONOMORPHIC, extra_ic_state,
|
| + Code::NORMAL, Code::STORE_IC);
|
| masm->isolate()->stub_cache()->GenerateProbe(
|
| masm, flags, edx, ecx, ebx, no_reg);
|
|
|
|
|