Index: src/ic/mips64/stub-cache-mips64.cc |
diff --git a/src/ic/mips64/stub-cache-mips64.cc b/src/ic/mips64/stub-cache-mips64.cc |
index d2255464aaff0bc0fc97f2b85bdd2299a892b819..b1ec6407190080c52ae708f864040dd10fa51fab 100644 |
--- a/src/ic/mips64/stub-cache-mips64.cc |
+++ b/src/ic/mips64/stub-cache-mips64.cc |
@@ -16,7 +16,7 @@ namespace internal { |
static void ProbeTable(Isolate* isolate, MacroAssembler* masm, |
- Code::Kind ic_kind, Code::Flags flags, bool leave_frame, |
+ Code::Kind ic_kind, Code::Flags flags, |
StubCache::Table table, Register receiver, Register name, |
// Number of the cache entry, not scaled. |
Register offset, Register scratch, Register scratch2, |
@@ -81,8 +81,6 @@ static void ProbeTable(Isolate* isolate, MacroAssembler* masm, |
} |
#endif |
- if (leave_frame) __ LeaveFrame(StackFrame::INTERNAL); |
- |
// Jump to the first instruction in the code stub. |
__ Daddu(at, code, Operand(Code::kHeaderSize - kHeapObjectTag)); |
__ Jump(at); |
@@ -93,10 +91,9 @@ static void ProbeTable(Isolate* isolate, MacroAssembler* masm, |
void StubCache::GenerateProbe(MacroAssembler* masm, Code::Kind ic_kind, |
- Code::Flags flags, bool leave_frame, |
- Register receiver, Register name, |
- Register scratch, Register extra, Register extra2, |
- Register extra3) { |
+ Code::Flags flags, Register receiver, |
+ Register name, Register scratch, Register extra, |
+ Register extra2, Register extra3) { |
Isolate* isolate = masm->isolate(); |
Label miss; |
@@ -147,8 +144,8 @@ void StubCache::GenerateProbe(MacroAssembler* masm, Code::Kind ic_kind, |
__ And(scratch, scratch, Operand(mask)); |
// Probe the primary table. |
- ProbeTable(isolate, masm, ic_kind, flags, leave_frame, kPrimary, receiver, |
- name, scratch, extra, extra2, extra3); |
+ ProbeTable(isolate, masm, ic_kind, flags, kPrimary, receiver, name, scratch, |
+ extra, extra2, extra3); |
// Primary miss: Compute hash for secondary probe. |
__ dsrl(at, name, kCacheIndexShift); |
@@ -158,8 +155,8 @@ void StubCache::GenerateProbe(MacroAssembler* masm, Code::Kind ic_kind, |
__ And(scratch, scratch, Operand(mask2)); |
// Probe the secondary table. |
- ProbeTable(isolate, masm, ic_kind, flags, leave_frame, kSecondary, receiver, |
- name, scratch, extra, extra2, extra3); |
+ ProbeTable(isolate, masm, ic_kind, flags, kSecondary, receiver, name, scratch, |
+ extra, extra2, extra3); |
// Cache miss: Fall-through and let caller handle the miss by |
// entering the runtime system. |