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

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

Issue 5151010: Remove unused variable to please Clang. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 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 | 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 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 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 1123 matching lines...) Expand 10 before | Expand all | Expand 10 after
1134 Register scratch2, 1134 Register scratch2,
1135 Register scratch3, 1135 Register scratch3,
1136 Object* value, 1136 Object* value,
1137 String* name, 1137 String* name,
1138 Label* miss) { 1138 Label* miss) {
1139 // Check that the receiver isn't a smi. 1139 // Check that the receiver isn't a smi.
1140 __ test(receiver, Immediate(kSmiTagMask)); 1140 __ test(receiver, Immediate(kSmiTagMask));
1141 __ j(zero, miss, not_taken); 1141 __ j(zero, miss, not_taken);
1142 1142
1143 // Check that the maps haven't changed. 1143 // Check that the maps haven't changed.
1144 Register reg = 1144 CheckPrototypes(object, receiver, holder,
1145 CheckPrototypes(object, receiver, holder, 1145 scratch1, scratch2, scratch3, name, miss);
1146 scratch1, scratch2, scratch3, name, miss);
1147 1146
1148 // Return the constant value. 1147 // Return the constant value.
1149 __ mov(eax, Handle<Object>(value)); 1148 __ mov(eax, Handle<Object>(value));
1150 __ ret(0); 1149 __ ret(0);
1151 } 1150 }
1152 1151
1153 1152
1154 void StubCompiler::GenerateLoadInterceptor(JSObject* object, 1153 void StubCompiler::GenerateLoadInterceptor(JSObject* object,
1155 JSObject* interceptor_holder, 1154 JSObject* interceptor_holder,
1156 LookupResult* lookup, 1155 LookupResult* lookup,
(...skipping 1998 matching lines...) Expand 10 before | Expand all | Expand 10 after
3155 // Return the generated code. 3154 // Return the generated code.
3156 return GetCode(); 3155 return GetCode();
3157 } 3156 }
3158 3157
3159 3158
3160 #undef __ 3159 #undef __
3161 3160
3162 } } // namespace v8::internal 3161 } } // namespace v8::internal
3163 3162
3164 #endif // V8_TARGET_ARCH_IA32 3163 #endif // V8_TARGET_ARCH_IA32
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