Revision: 6234
Author: [email protected]
Date: Sun Jan 9 23:59:13 2011
Log: Landing for Martin Maly.
Implement DoCallKeyed for arm lithium compiler.
Code review URL: http://codereview.chromium.org/6139002
http://code.google.com/p/v8/source/detail?r=6234
Modified:
/branches/bleeding_edge/src/arm/lithium-codegen-arm.cc
=======================================
--- /branches/bleeding_edge/src/arm/lithium-codegen-arm.cc Fri Jan 7
06:27:32 2011
+++ /branches/bleeding_edge/src/arm/lithium-codegen-arm.cc Sun Jan 9
23:59:13 2011
@@ -1812,7 +1812,12 @@
void LCodeGen::DoCallKeyed(LCallKeyed* instr) {
- Abort("DoCallKeyed unimplemented.");
+ ASSERT(ToRegister(instr->result()).is(r0));
+
+ int arity = instr->arity();
+ Handle<Code> ic = StubCache::ComputeKeyedCallInitialize(arity,
NOT_IN_LOOP);
+ CallCode(ic, RelocInfo::CODE_TARGET, instr);
+ __ ldr(cp, MemOperand(fp, StandardFrameConstants::kContextOffset));
}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev