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

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

Issue 19214002: Revert 15635: Turn ElementsTransitionAndStore stub into a HydrogenCodeStub (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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 | src/code-stubs.h » ('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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 Isolate* isolate, 251 Isolate* isolate,
252 CodeStubInterfaceDescriptor* descriptor) { 252 CodeStubInterfaceDescriptor* descriptor) {
253 static Register registers[] = { r1, r2, r0 }; 253 static Register registers[] = { r1, r2, r0 };
254 descriptor->register_param_count_ = 3; 254 descriptor->register_param_count_ = 3;
255 descriptor->register_params_ = registers; 255 descriptor->register_params_ = registers;
256 descriptor->deoptimization_handler_ = 256 descriptor->deoptimization_handler_ =
257 FUNCTION_ADDR(StoreIC_MissFromStubFailure); 257 FUNCTION_ADDR(StoreIC_MissFromStubFailure);
258 } 258 }
259 259
260 260
261 void ElementsTransitionAndStoreStub::InitializeInterfaceDescriptor(
262 Isolate* isolate,
263 CodeStubInterfaceDescriptor* descriptor) {
264 static Register registers[] = { r0, r3, r1, r2 };
265 descriptor->register_param_count_ = 4;
266 descriptor->register_params_ = registers;
267 descriptor->deoptimization_handler_ =
268 FUNCTION_ADDR(ElementsTransitionAndStoreIC_Miss);
269 }
270
271
272 #define __ ACCESS_MASM(masm) 261 #define __ ACCESS_MASM(masm)
273 262
274 263
275 static void EmitIdenticalObjectComparison(MacroAssembler* masm, 264 static void EmitIdenticalObjectComparison(MacroAssembler* masm,
276 Label* slow, 265 Label* slow,
277 Condition cond); 266 Condition cond);
278 static void EmitSmiNonsmiComparison(MacroAssembler* masm, 267 static void EmitSmiNonsmiComparison(MacroAssembler* masm,
279 Register lhs, 268 Register lhs,
280 Register rhs, 269 Register rhs,
281 Label* lhs_not_nan, 270 Label* lhs_not_nan,
(...skipping 6928 matching lines...) Expand 10 before | Expand all | Expand 10 after
7210 __ bind(&fast_elements_case); 7199 __ bind(&fast_elements_case);
7211 GenerateCase(masm, FAST_ELEMENTS); 7200 GenerateCase(masm, FAST_ELEMENTS);
7212 } 7201 }
7213 7202
7214 7203
7215 #undef __ 7204 #undef __
7216 7205
7217 } } // namespace v8::internal 7206 } } // namespace v8::internal
7218 7207
7219 #endif // V8_TARGET_ARCH_ARM 7208 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/code-stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698