Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/x64/code-stubs-x64.cc

Issue 8496011: Fix removed return parameter count. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 5972 matching lines...) Expand 10 before | Expand all | Expand 10 after
5983 __ pop(rdi); // Pop return address and remember to put back later for tail 5983 __ pop(rdi); // Pop return address and remember to put back later for tail
5984 // call. 5984 // call.
5985 __ push(rbx); 5985 __ push(rbx);
5986 __ push(rcx); 5986 __ push(rcx);
5987 __ push(rax); 5987 __ push(rax);
5988 __ movq(rbx, Operand(rbp, JavaScriptFrameConstants::kFunctionOffset)); 5988 __ movq(rbx, Operand(rbp, JavaScriptFrameConstants::kFunctionOffset));
5989 __ push(FieldOperand(rbx, JSFunction::kLiteralsOffset)); 5989 __ push(FieldOperand(rbx, JSFunction::kLiteralsOffset));
5990 __ push(rdx); 5990 __ push(rdx);
5991 __ push(rdi); // Return return address so that tail call returns to right 5991 __ push(rdi); // Return return address so that tail call returns to right
5992 // place. 5992 // place.
5993 __ TailCallRuntime(Runtime::kStoreArrayLiteralElement, 5, 0); 5993 __ TailCallRuntime(Runtime::kStoreArrayLiteralElement, 5, 1);
5994 5994
5995 if (!FLAG_trace_elements_transitions) { 5995 if (!FLAG_trace_elements_transitions) {
5996 // Array literal has ElementsKind of FAST_DOUBLE_ELEMENTS. 5996 // Array literal has ElementsKind of FAST_DOUBLE_ELEMENTS.
5997 __ bind(&double_elements); 5997 __ bind(&double_elements);
5998 5998
5999 __ movq(r9, FieldOperand(rbx, JSObject::kElementsOffset)); 5999 __ movq(r9, FieldOperand(rbx, JSObject::kElementsOffset));
6000 __ SmiToInteger32(r11, rcx); 6000 __ SmiToInteger32(r11, rcx);
6001 __ StoreNumberToDoubleElements(rax, 6001 __ StoreNumberToDoubleElements(rax,
6002 r9, 6002 r9,
6003 r11, 6003 r11,
(...skipping 26 matching lines...) Expand all
6030 __ bind(&element_done); 6030 __ bind(&element_done);
6031 __ ret(0); 6031 __ ret(0);
6032 } 6032 }
6033 } 6033 }
6034 6034
6035 #undef __ 6035 #undef __
6036 6036
6037 } } // namespace v8::internal 6037 } } // namespace v8::internal
6038 6038
6039 #endif // V8_TARGET_ARCH_X64 6039 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698