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

Side by Side Diff: src/x64/stub-cache-x64.cc

Issue 12211011: Fix Win64. It still cares about the actual registers behind scratch1/scratch2 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 10 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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 2821 matching lines...) Expand 10 before | Expand all | Expand 10 after
2832 __ bind(&miss); 2832 __ bind(&miss);
2833 GenerateLoadMiss(masm(), Code::LOAD_IC); 2833 GenerateLoadMiss(masm(), Code::LOAD_IC);
2834 2834
2835 // Return the generated code. 2835 // Return the generated code.
2836 return GetCode(Code::NONEXISTENT, factory()->empty_string()); 2836 return GetCode(Code::NONEXISTENT, factory()->empty_string());
2837 } 2837 }
2838 2838
2839 2839
2840 Register* LoadStubCompiler::registers() { 2840 Register* LoadStubCompiler::registers() {
2841 // receiver, name, scratch1, scratch2, scratch3, scratch4. 2841 // receiver, name, scratch1, scratch2, scratch3, scratch4.
2842 static Register registers[] = { rax, rcx, rbx, rdx, rdi, r8 }; 2842 static Register registers[] = { rax, rcx, rdx, rbx, rdi, r8 };
2843 return registers; 2843 return registers;
2844 } 2844 }
2845 2845
2846 2846
2847 Register* KeyedLoadStubCompiler::registers() { 2847 Register* KeyedLoadStubCompiler::registers() {
2848 // receiver, name, scratch1, scratch2, scratch3, scratch4. 2848 // receiver, name, scratch1, scratch2, scratch3, scratch4.
2849 static Register registers[] = { rdx, rax, rbx, rcx, rdi, r8 }; 2849 static Register registers[] = { rdx, rax, rbx, rcx, rdi, r8 };
2850 return registers; 2850 return registers;
2851 } 2851 }
2852 2852
(...skipping 839 matching lines...) Expand 10 before | Expand all | Expand 10 after
3692 __ jmp(ic_slow, RelocInfo::CODE_TARGET); 3692 __ jmp(ic_slow, RelocInfo::CODE_TARGET);
3693 } 3693 }
3694 } 3694 }
3695 3695
3696 3696
3697 #undef __ 3697 #undef __
3698 3698
3699 } } // namespace v8::internal 3699 } } // namespace v8::internal
3700 3700
3701 #endif // V8_TARGET_ARCH_X64 3701 #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