Index: src/ic/x64/stub-cache-x64.cc |
diff --git a/src/ic/x64/stub-cache-x64.cc b/src/ic/x64/stub-cache-x64.cc |
index e009e983e7ece08e3006c97f30cc85b27df800ec..a65165b678d4af40f5e9b0dc00768311aa8c00d3 100644 |
--- a/src/ic/x64/stub-cache-x64.cc |
+++ b/src/ic/x64/stub-cache-x64.cc |
@@ -14,10 +14,9 @@ namespace internal { |
#define __ ACCESS_MASM(masm) |
- |
static void ProbeTable(Isolate* isolate, MacroAssembler* masm, |
- Code::Kind ic_kind, Code::Flags flags, |
- StubCache::Table table, Register receiver, Register name, |
+ Code::Flags flags, StubCache::Table table, |
+ Register receiver, Register name, |
// The offset is scaled by 4, based on |
// kCacheIndexShift, which is two bits |
Register offset) { |
@@ -136,7 +135,7 @@ void StubCache::GenerateProbe(MacroAssembler* masm, Code::Kind ic_kind, |
__ andp(scratch, Immediate((kPrimaryTableSize - 1) << kCacheIndexShift)); |
// Probe the primary table. |
- ProbeTable(isolate, masm, ic_kind, flags, kPrimary, receiver, name, scratch); |
+ ProbeTable(isolate, masm, flags, kPrimary, receiver, name, scratch); |
// Primary miss: Compute hash for secondary probe. |
__ movl(scratch, FieldOperand(name, Name::kHashFieldOffset)); |
@@ -148,8 +147,7 @@ void StubCache::GenerateProbe(MacroAssembler* masm, Code::Kind ic_kind, |
__ andp(scratch, Immediate((kSecondaryTableSize - 1) << kCacheIndexShift)); |
// Probe the secondary table. |
- ProbeTable(isolate, masm, ic_kind, flags, kSecondary, receiver, name, |
- scratch); |
+ ProbeTable(isolate, masm, flags, kSecondary, receiver, name, scratch); |
// Cache miss: Fall-through and let caller handle the miss by |
// entering the runtime system. |