| Index: src/x64/lithium-codegen-x64.cc
|
| ===================================================================
|
| --- src/x64/lithium-codegen-x64.cc (revision 6895)
|
| +++ src/x64/lithium-codegen-x64.cc (working copy)
|
| @@ -2353,7 +2353,12 @@
|
|
|
|
|
| void LCodeGen::DoCallKeyed(LCallKeyed* instr) {
|
| - Abort("Unimplemented: %s", "DoCallKeyed");
|
| + ASSERT(ToRegister(instr->key()).is(rcx));
|
| + ASSERT(ToRegister(instr->result()).is(rax));
|
| +
|
| + int arity = instr->arity();
|
| + Handle<Code> ic = StubCache::ComputeKeyedCallInitialize(arity, NOT_IN_LOOP);
|
| + CallCode(ic, RelocInfo::CODE_TARGET, instr);
|
| }
|
|
|
|
|
|
|