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

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

Issue 10178039: One more register change missing from r11460. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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 | test/mozilla/mozilla.status » ('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 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 2867 matching lines...) Expand 10 before | Expand all | Expand 10 after
2878 // ----------------------------------- 2878 // -----------------------------------
2879 Label miss; 2879 Label miss;
2880 2880
2881 Counters* counters = isolate()->counters(); 2881 Counters* counters = isolate()->counters();
2882 __ IncrementCounter(counters->keyed_load_field(), 1); 2882 __ IncrementCounter(counters->keyed_load_field(), 1);
2883 2883
2884 // Check that the name has not changed. 2884 // Check that the name has not changed.
2885 __ cmp(ecx, Immediate(name)); 2885 __ cmp(ecx, Immediate(name));
2886 __ j(not_equal, &miss); 2886 __ j(not_equal, &miss);
2887 2887
2888 GenerateLoadField(receiver, holder, edx, ebx, ecx, edi, index, name, &miss); 2888 GenerateLoadField(receiver, holder, edx, ebx, eax, edi, index, name, &miss);
2889 2889
2890 __ bind(&miss); 2890 __ bind(&miss);
2891 __ DecrementCounter(counters->keyed_load_field(), 1); 2891 __ DecrementCounter(counters->keyed_load_field(), 1);
2892 GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC); 2892 GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC);
2893 2893
2894 // Return the generated code. 2894 // Return the generated code.
2895 return GetCode(FIELD, name); 2895 return GetCode(FIELD, name);
2896 } 2896 }
2897 2897
2898 2898
(...skipping 1168 matching lines...) Expand 10 before | Expand all | Expand 10 after
4067 __ jmp(ic_slow, RelocInfo::CODE_TARGET); 4067 __ jmp(ic_slow, RelocInfo::CODE_TARGET);
4068 } 4068 }
4069 } 4069 }
4070 4070
4071 4071
4072 #undef __ 4072 #undef __
4073 4073
4074 } } // namespace v8::internal 4074 } } // namespace v8::internal
4075 4075
4076 #endif // V8_TARGET_ARCH_IA32 4076 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « no previous file | test/mozilla/mozilla.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698