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

Side by Side Diff: src/ia32/code-stubs-ia32.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 | « no previous file | src/x64/code-stubs-x64.cc » ('j') | 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 7053 matching lines...) Expand 10 before | Expand all | Expand 10 after
7064 __ pop(edi); // Pop return address and remember to put back later for tail 7064 __ pop(edi); // Pop return address and remember to put back later for tail
7065 // call. 7065 // call.
7066 __ push(ebx); 7066 __ push(ebx);
7067 __ push(ecx); 7067 __ push(ecx);
7068 __ push(eax); 7068 __ push(eax);
7069 __ mov(ebx, Operand(ebp, JavaScriptFrameConstants::kFunctionOffset)); 7069 __ mov(ebx, Operand(ebp, JavaScriptFrameConstants::kFunctionOffset));
7070 __ push(FieldOperand(ebx, JSFunction::kLiteralsOffset)); 7070 __ push(FieldOperand(ebx, JSFunction::kLiteralsOffset));
7071 __ push(edx); 7071 __ push(edx);
7072 __ push(edi); // Return return address so that tail call returns to right 7072 __ push(edi); // Return return address so that tail call returns to right
7073 // place. 7073 // place.
7074 __ TailCallRuntime(Runtime::kStoreArrayLiteralElement, 5, 0); 7074 __ TailCallRuntime(Runtime::kStoreArrayLiteralElement, 5, 1);
7075 7075
7076 if (!FLAG_trace_elements_transitions) { 7076 if (!FLAG_trace_elements_transitions) {
7077 // Array literal has ElementsKind of FAST_DOUBLE_ELEMENTS. 7077 // Array literal has ElementsKind of FAST_DOUBLE_ELEMENTS.
7078 __ bind(&double_elements); 7078 __ bind(&double_elements);
7079 7079
7080 __ push(edx); 7080 __ push(edx);
7081 __ mov(edx, FieldOperand(ebx, JSObject::kElementsOffset)); 7081 __ mov(edx, FieldOperand(ebx, JSObject::kElementsOffset));
7082 __ StoreNumberToDoubleElements(eax, 7082 __ StoreNumberToDoubleElements(eax,
7083 edx, 7083 edx,
7084 ecx, 7084 ecx,
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
7116 __ bind(&element_done); 7116 __ bind(&element_done);
7117 __ ret(0); 7117 __ ret(0);
7118 } 7118 }
7119 } 7119 }
7120 7120
7121 #undef __ 7121 #undef __
7122 7122
7123 } } // namespace v8::internal 7123 } } // namespace v8::internal
7124 7124
7125 #endif // V8_TARGET_ARCH_IA32 7125 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « no previous file | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698