| Index: src/ia32/ic-ia32.cc
|
| ===================================================================
|
| --- src/ia32/ic-ia32.cc (revision 4776)
|
| +++ src/ia32/ic-ia32.cc (working copy)
|
| @@ -1054,7 +1054,8 @@
|
| // Probe the stub cache.
|
| Code::Flags flags =
|
| Code::ComputeFlags(Code::CALL_IC, NOT_IN_LOOP, MONOMORPHIC, NORMAL, argc);
|
| - StubCache::GenerateProbe(masm, flags, edx, ecx, ebx, eax);
|
| + Isolate::Current()->stub_cache()->GenerateProbe(masm, flags, edx, ecx, ebx,
|
| + eax);
|
|
|
| // If the stub cache probing failed, the receiver might be a value.
|
| // For value objects, we use the map of the prototype objects for
|
| @@ -1091,7 +1092,8 @@
|
|
|
| // Probe the stub cache for the value object.
|
| __ bind(&probe);
|
| - StubCache::GenerateProbe(masm, flags, edx, ecx, ebx, no_reg);
|
| + Isolate::Current()->stub_cache()->GenerateProbe(masm, flags, edx, ecx, ebx,
|
| + no_reg);
|
|
|
| // Cache miss: Jump to runtime.
|
| __ bind(&miss);
|
| @@ -1267,7 +1269,8 @@
|
| Code::Flags flags = Code::ComputeFlags(Code::LOAD_IC,
|
| NOT_IN_LOOP,
|
| MONOMORPHIC);
|
| - StubCache::GenerateProbe(masm, flags, eax, ecx, ebx, edx);
|
| + Isolate::Current()->stub_cache()->GenerateProbe(masm, flags, eax, ecx, ebx,
|
| + edx);
|
|
|
| // Cache miss: Jump to runtime.
|
| GenerateMiss(masm);
|
| @@ -1490,7 +1493,8 @@
|
| Code::Flags flags = Code::ComputeFlags(Code::STORE_IC,
|
| NOT_IN_LOOP,
|
| MONOMORPHIC);
|
| - StubCache::GenerateProbe(masm, flags, edx, ecx, ebx, no_reg);
|
| + Isolate::Current()->stub_cache()->GenerateProbe(masm, flags, edx, ecx, ebx,
|
| + no_reg);
|
|
|
| // Cache miss: Jump to runtime.
|
| GenerateMiss(masm);
|
|
|