From: danno@chromium.org Date: Tue, 8 Nov 2011 13:16:56 +0000 (+0000) Subject: Fix removed return parameter count. X-Git-Tag: upstream/4.7.83~17977 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=76a934048283467bd126f2dd3d1ad937f856b50b;p=platform%2Fupstream%2Fv8.git Fix removed return parameter count. BUG=none TEST=none Review URL: http://codereview.chromium.org/8496011 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9914 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc index 97e22fd..50cddca 100644 --- a/src/ia32/code-stubs-ia32.cc +++ b/src/ia32/code-stubs-ia32.cc @@ -7071,7 +7071,7 @@ void StoreArrayLiteralElementStub::Generate(MacroAssembler* masm) { __ push(edx); __ push(edi); // Return return address so that tail call returns to right // place. - __ TailCallRuntime(Runtime::kStoreArrayLiteralElement, 5, 0); + __ TailCallRuntime(Runtime::kStoreArrayLiteralElement, 5, 1); if (!FLAG_trace_elements_transitions) { // Array literal has ElementsKind of FAST_DOUBLE_ELEMENTS. diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc index 6e9e148..d7618b7 100644 --- a/src/x64/code-stubs-x64.cc +++ b/src/x64/code-stubs-x64.cc @@ -5990,7 +5990,7 @@ void StoreArrayLiteralElementStub::Generate(MacroAssembler* masm) { __ push(rdx); __ push(rdi); // Return return address so that tail call returns to right // place. - __ TailCallRuntime(Runtime::kStoreArrayLiteralElement, 5, 0); + __ TailCallRuntime(Runtime::kStoreArrayLiteralElement, 5, 1); if (!FLAG_trace_elements_transitions) { // Array literal has ElementsKind of FAST_DOUBLE_ELEMENTS.