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

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

Issue 6968010: Revert accidental change from r7795 that was causing a bug fixed in r7790 to reappear. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 7 months 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 | 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 992 matching lines...) Expand 10 before | Expand all | Expand 10 after
1003 __ movq(FieldOperand(rax, HeapObject::kMapOffset), 1003 __ movq(FieldOperand(rax, HeapObject::kMapOffset),
1004 heap_number_map); 1004 heap_number_map);
1005 __ cvtqsi2sd(xmm0, rbx); 1005 __ cvtqsi2sd(xmm0, rbx);
1006 __ movsd(FieldOperand(rax, HeapNumber::kValueOffset), xmm0); 1006 __ movsd(FieldOperand(rax, HeapNumber::kValueOffset), xmm0);
1007 __ Ret(); 1007 __ Ret();
1008 1008
1009 __ bind(&allocation_failed); 1009 __ bind(&allocation_failed);
1010 // We need tagged values in rdx and rax for the following code, 1010 // We need tagged values in rdx and rax for the following code,
1011 // not int32 in rax and rcx. 1011 // not int32 in rax and rcx.
1012 __ Integer32ToSmi(rax, rcx); 1012 __ Integer32ToSmi(rax, rcx);
1013 __ Integer32ToSmi(rdx, rax); 1013 __ Integer32ToSmi(rdx, rbx);
1014 __ jmp(allocation_failure); 1014 __ jmp(allocation_failure);
1015 } 1015 }
1016 break; 1016 break;
1017 } 1017 }
1018 default: UNREACHABLE(); break; 1018 default: UNREACHABLE(); break;
1019 } 1019 }
1020 // No fall-through from this generated code. 1020 // No fall-through from this generated code.
1021 if (FLAG_debug_code) { 1021 if (FLAG_debug_code) {
1022 __ Abort("Unexpected fall-through in " 1022 __ Abort("Unexpected fall-through in "
1023 "TypeRecordingBinaryStub::GenerateFloatingPointCode."); 1023 "TypeRecordingBinaryStub::GenerateFloatingPointCode.");
(...skipping 4098 matching lines...) Expand 10 before | Expand all | Expand 10 after
5122 __ Drop(1); 5122 __ Drop(1);
5123 __ ret(2 * kPointerSize); 5123 __ ret(2 * kPointerSize);
5124 } 5124 }
5125 5125
5126 5126
5127 #undef __ 5127 #undef __
5128 5128
5129 } } // namespace v8::internal 5129 } } // namespace v8::internal
5130 5130
5131 #endif // V8_TARGET_ARCH_X64 5131 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698