| Index: src/codegen-ia32.cc
|
| ===================================================================
|
| --- src/codegen-ia32.cc (revision 1605)
|
| +++ src/codegen-ia32.cc (working copy)
|
| @@ -4454,12 +4454,8 @@
|
| if (function == NULL) {
|
| // Call the JS runtime function.
|
| Handle<Code> stub = ComputeCallInitialize(arg_count);
|
| -
|
| - Result num_args = allocator()->Allocate(eax);
|
| - ASSERT(num_args.is_valid());
|
| - __ Set(num_args.reg(), Immediate(args->length()));
|
| - Result answer = frame_->CallCodeObject(stub, RelocInfo::CODE_TARGET,
|
| - &num_args, arg_count + 1);
|
| + Result answer =
|
| + frame_->CallCodeObject(stub, RelocInfo::CODE_TARGET, arg_count + 1);
|
| frame_->RestoreContextRegister();
|
| frame_->SetElementAt(0, &answer);
|
| } else {
|
|
|