Revision: 24126
Author: [email protected]
Date: Mon Sep 22 16:08:49 2014 UTC
Log: MIPS: Make KeyedLoads from a sloppy arguments array use a handler.
Port r24120 (eed5963)
Original commit message:
Before, a custom stub was installed.
BUG=
[email protected]
Review URL: https://codereview.chromium.org/594563003
https://code.google.com/p/v8/source/detail?r=24126
Modified:
/branches/bleeding_edge/src/ic/mips64/ic-mips64.cc
=======================================
--- /branches/bleeding_edge/src/ic/mips64/ic-mips64.cc Thu Sep 18 15:38:52
2014 UTC
+++ /branches/bleeding_edge/src/ic/mips64/ic-mips64.cc Mon Sep 22 16:08:49
2014 UTC
@@ -370,32 +370,6 @@
__ Daddu(scratch, backing_store, scratch);
return MemOperand(scratch);
}
-
-
-void KeyedLoadIC::GenerateSloppyArguments(MacroAssembler* masm) {
- // The return address is in ra.
- Register receiver = LoadDescriptor::ReceiverRegister();
- Register key = LoadDescriptor::NameRegister();
- DCHECK(receiver.is(a1));
- DCHECK(key.is(a2));
-
- Label slow, notin;
- MemOperand mapped_location = GenerateMappedArgumentsLookup(
- masm, receiver, key, a0, a3, a4, ¬in, &slow);
- __ Ret(USE_DELAY_SLOT);
- __ ld(v0, mapped_location);
- __ bind(¬in);
- // The unmapped lookup expects that the parameter map is in a2.
- MemOperand unmapped_location =
- GenerateUnmappedArgumentsLookup(masm, key, a0, a3, &slow);
- __ ld(a0, unmapped_location);
- __ LoadRoot(a3, Heap::kTheHoleValueRootIndex);
- __ Branch(&slow, eq, a0, Operand(a3));
- __ Ret(USE_DELAY_SLOT);
- __ mov(v0, a0);
- __ bind(&slow);
- GenerateMiss(masm);
-}
void KeyedStoreIC::GenerateSloppyArguments(MacroAssembler* masm) {
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.