| Index: src/virtual-frame-ia32.cc
|
| ===================================================================
|
| --- src/virtual-frame-ia32.cc (revision 1083)
|
| +++ src/virtual-frame-ia32.cc (working copy)
|
| @@ -850,10 +850,13 @@
|
| }
|
|
|
|
|
| -void VirtualFrame::CallStub(CodeStub* stub, int frame_arg_count) {
|
| +Result VirtualFrame::CallStub(CodeStub* stub, int frame_arg_count) {
|
| ASSERT(cgen_->HasValidEntryRegisters());
|
| PrepareForCall(frame_arg_count);
|
| __ CallStub(stub);
|
| + Result result = cgen_->allocator()->Allocate(eax);
|
| + ASSERT(result.is_valid());
|
| + return result;
|
| }
|
|
|
|
|
| @@ -861,10 +864,7 @@
|
| Result* arg,
|
| int frame_arg_count) {
|
| arg->Unuse();
|
| - CallStub(stub, frame_arg_count);
|
| - Result result = cgen_->allocator()->Allocate(eax);
|
| - ASSERT(result.is_valid());
|
| - return result;
|
| + return CallStub(stub, frame_arg_count);
|
| }
|
|
|
|
|
| @@ -874,10 +874,7 @@
|
| int frame_arg_count) {
|
| arg0->Unuse();
|
| arg1->Unuse();
|
| - CallStub(stub, frame_arg_count);
|
| - Result result = cgen_->allocator()->Allocate(eax);
|
| - ASSERT(result.is_valid());
|
| - return result;
|
| + return CallStub(stub, frame_arg_count);
|
| }
|
|
|
|
|
|
|