| Index: src/ia32/codegen-ia32.cc
|
| diff --git a/src/ia32/codegen-ia32.cc b/src/ia32/codegen-ia32.cc
|
| index a9face1d70d2f869cd7fe7805620261924550b20..3b854d1d8008c7acc4dc316090da440230fe7e15 100644
|
| --- a/src/ia32/codegen-ia32.cc
|
| +++ b/src/ia32/codegen-ia32.cc
|
| @@ -6886,7 +6886,7 @@ void GenericBinaryOpStub::Generate(MacroAssembler* masm) {
|
| __ j(above_equal, &string1);
|
|
|
| // First and second argument are strings.
|
| - __ TailCallRuntime(ExternalReference(Runtime::kStringAdd), 2);
|
| + __ TailCallRuntime(ExternalReference(Runtime::kStringAdd), 2, 1);
|
|
|
| // Only first argument is a string.
|
| __ bind(&string1);
|
| @@ -7176,7 +7176,7 @@ void ArgumentsAccessStub::GenerateReadElement(MacroAssembler* masm) {
|
| __ pop(ebx); // Return address.
|
| __ push(edx);
|
| __ push(ebx);
|
| - __ TailCallRuntime(ExternalReference(Runtime::kGetArgumentsProperty), 1);
|
| + __ TailCallRuntime(ExternalReference(Runtime::kGetArgumentsProperty), 1, 1);
|
| }
|
|
|
|
|
| @@ -7201,7 +7201,7 @@ void ArgumentsAccessStub::GenerateNewObject(MacroAssembler* masm) {
|
|
|
| // Do the runtime call to allocate the arguments object.
|
| __ bind(&runtime);
|
| - __ TailCallRuntime(ExternalReference(Runtime::kNewArgumentsFast), 3);
|
| + __ TailCallRuntime(ExternalReference(Runtime::kNewArgumentsFast), 3, 1);
|
| }
|
|
|
|
|
| @@ -7437,7 +7437,7 @@ void StackCheckStub::Generate(MacroAssembler* masm) {
|
| __ push(eax);
|
|
|
| // Do tail-call to runtime routine.
|
| - __ TailCallRuntime(ExternalReference(Runtime::kStackGuard), 1);
|
| + __ TailCallRuntime(ExternalReference(Runtime::kStackGuard), 1, 1);
|
| }
|
|
|
|
|
| @@ -7469,6 +7469,13 @@ void CallFunctionStub::Generate(MacroAssembler* masm) {
|
| }
|
|
|
|
|
| +int CEntryStub::MinorKey() {
|
| + ASSERT(result_size_ <= 2);
|
| + // Result returned in eax, or eax+edx if result_size_ is 2.
|
| + return 0;
|
| +}
|
| +
|
| +
|
| void CEntryStub::GenerateThrowTOS(MacroAssembler* masm) {
|
| // eax holds the exception.
|
|
|
|
|