Revision: 24128
Author: [email protected]
Date: Tue Sep 23 03:44:35 2014 UTC
Log: X87: Make KeyedLoads from a sloppy arguments array use a handler.
port r24120.
original commit message:
Make KeyedLoads from a sloppy arguments array use a handler.
Before, a custom stub was installed
BUG=
[email protected]
Review URL: https://codereview.chromium.org/594773002
Patch from Chunyang Dai <[email protected]>.
https://code.google.com/p/v8/source/detail?r=24128
Modified:
/branches/bleeding_edge/src/ic/x87/ic-x87.cc
=======================================
--- /branches/bleeding_edge/src/ic/x87/ic-x87.cc Sat Sep 20 05:08:58 2014
UTC
+++ /branches/bleeding_edge/src/ic/x87/ic-x87.cc Tue Sep 23 03:44:35 2014
UTC
@@ -503,32 +503,6 @@
__ bind(&miss);
GenerateMiss(masm);
}
-
-
-void KeyedLoadIC::GenerateSloppyArguments(MacroAssembler* masm) {
- // The return address is on the stack.
- Register receiver = LoadDescriptor::ReceiverRegister();
- Register key = LoadDescriptor::NameRegister();
- DCHECK(receiver.is(edx));
- DCHECK(key.is(ecx));
-
- Label slow, notin;
- Factory* factory = masm->isolate()->factory();
- Operand mapped_location = GenerateMappedArgumentsLookup(
- masm, receiver, key, ebx, eax, ¬in, &slow);
- __ mov(eax, mapped_location);
- __ Ret();
- __ bind(¬in);
- // The unmapped lookup expects that the parameter map is in ebx.
- Operand unmapped_location =
- GenerateUnmappedArgumentsLookup(masm, key, ebx, eax, &slow);
- __ cmp(unmapped_location, factory->the_hole_value());
- __ j(equal, &slow);
- __ mov(eax, unmapped_location);
- __ Ret();
- __ 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.