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

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

Issue 10253004: MIPS: Removed unused variables. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 8 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 | « src/mips/lithium-mips.cc ('k') | 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 1158 matching lines...) Expand 10 before | Expand all | Expand 10 after
1169 Register scratch1, 1169 Register scratch1,
1170 Register scratch2, 1170 Register scratch2,
1171 Register scratch3, 1171 Register scratch3,
1172 Handle<JSFunction> value, 1172 Handle<JSFunction> value,
1173 Handle<String> name, 1173 Handle<String> name,
1174 Label* miss) { 1174 Label* miss) {
1175 // Check that the receiver isn't a smi. 1175 // Check that the receiver isn't a smi.
1176 __ JumpIfSmi(receiver, miss, scratch1); 1176 __ JumpIfSmi(receiver, miss, scratch1);
1177 1177
1178 // Check that the maps haven't changed. 1178 // Check that the maps haven't changed.
1179 Register reg = 1179 CheckPrototypes(object, receiver, holder,
1180 CheckPrototypes(object, receiver, holder, 1180 scratch1, scratch2, scratch3, name, miss);
1181 scratch1, scratch2, scratch3, name, miss);
1182 1181
1183 // Return the constant value. 1182 // Return the constant value.
1184 __ LoadHeapObject(v0, value); 1183 __ LoadHeapObject(v0, value);
1185 __ Ret(); 1184 __ Ret();
1186 } 1185 }
1187 1186
1188 1187
1189 void StubCompiler::GenerateLoadCallback(Handle<JSObject> object, 1188 void StubCompiler::GenerateLoadCallback(Handle<JSObject> object,
1190 Handle<JSObject> holder, 1189 Handle<JSObject> holder,
1191 Register receiver, 1190 Register receiver,
(...skipping 3074 matching lines...) Expand 10 before | Expand all | Expand 10 after
4266 Label miss_force_generic, transition_elements_kind, grow, slow; 4265 Label miss_force_generic, transition_elements_kind, grow, slow;
4267 Label finish_store, check_capacity; 4266 Label finish_store, check_capacity;
4268 4267
4269 Register value_reg = a0; 4268 Register value_reg = a0;
4270 Register key_reg = a1; 4269 Register key_reg = a1;
4271 Register receiver_reg = a2; 4270 Register receiver_reg = a2;
4272 Register scratch = t0; 4271 Register scratch = t0;
4273 Register elements_reg = a3; 4272 Register elements_reg = a3;
4274 Register length_reg = t1; 4273 Register length_reg = t1;
4275 Register scratch2 = t2; 4274 Register scratch2 = t2;
4276 Register scratch3 = t3;
4277 4275
4278 // This stub is meant to be tail-jumped to, the receiver must already 4276 // This stub is meant to be tail-jumped to, the receiver must already
4279 // have been verified by the caller to not be a smi. 4277 // have been verified by the caller to not be a smi.
4280 4278
4281 // Check that the key is a smi or a heap number convertible to a smi. 4279 // Check that the key is a smi or a heap number convertible to a smi.
4282 GenerateSmiKeyCheck(masm, key_reg, t0, t1, f2, &miss_force_generic); 4280 GenerateSmiKeyCheck(masm, key_reg, t0, t1, f2, &miss_force_generic);
4283 4281
4284 if (elements_kind == FAST_SMI_ONLY_ELEMENTS) { 4282 if (elements_kind == FAST_SMI_ONLY_ELEMENTS) {
4285 __ JumpIfNotSmi(value_reg, &transition_elements_kind); 4283 __ JumpIfNotSmi(value_reg, &transition_elements_kind);
4286 } 4284 }
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
4557 __ Jump(ic_slow, RelocInfo::CODE_TARGET); 4555 __ Jump(ic_slow, RelocInfo::CODE_TARGET);
4558 } 4556 }
4559 } 4557 }
4560 4558
4561 4559
4562 #undef __ 4560 #undef __
4563 4561
4564 } } // namespace v8::internal 4562 } } // namespace v8::internal
4565 4563
4566 #endif // V8_TARGET_ARCH_MIPS 4564 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/lithium-mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698