| Index: src/ia32/builtins-ia32.cc
|
| diff --git a/src/ia32/builtins-ia32.cc b/src/ia32/builtins-ia32.cc
|
| index c778d5a53723d06ab2be00776bafb018e93917b5..3edda2b63ca754b558e58eff0f1b2db1237d45b5 100644
|
| --- a/src/ia32/builtins-ia32.cc
|
| +++ b/src/ia32/builtins-ia32.cc
|
| @@ -1052,21 +1052,13 @@ static void Generate_PushAppliedArguments(MacroAssembler* masm,
|
| __ bind(&loop);
|
| __ mov(receiver, Operand(ebp, argumentsOffset)); // load arguments
|
|
|
| - if (FLAG_vector_ics) {
|
| - // TODO(mvstanton): Vector-based ics need additional infrastructure to
|
| - // be embedded here. For now, just call the runtime.
|
| - __ push(receiver);
|
| - __ push(key);
|
| - __ CallRuntime(Runtime::kGetProperty, 2);
|
| - } else {
|
| - // Use inline caching to speed up access to arguments.
|
| - Handle<Code> ic = CodeFactory::KeyedLoadIC(masm->isolate()).code();
|
| - __ call(ic, RelocInfo::CODE_TARGET);
|
| - // It is important that we do not have a test instruction after the
|
| - // call. A test instruction after the call is used to indicate that
|
| - // we have generated an inline version of the keyed load. In this
|
| - // case, we know that we are not generating a test instruction next.
|
| - }
|
| + // Use inline caching to speed up access to arguments.
|
| + Handle<Code> ic = masm->isolate()->builtins()->KeyedLoadIC_Megamorphic();
|
| + __ call(ic, RelocInfo::CODE_TARGET);
|
| + // It is important that we do not have a test instruction after the
|
| + // call. A test instruction after the call is used to indicate that
|
| + // we have generated an inline version of the keyed load. In this
|
| + // case, we know that we are not generating a test instruction next.
|
|
|
| // Push the nth argument.
|
| __ push(eax);
|
|
|