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

Side by Side Diff: src/arm/codegen-arm.cc

Issue 11419255: ARM: fix a bug with saving lr register in GenerateSmiToDouble. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years 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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 if (!vfp2_supported) __ Push(r1, r0); 255 if (!vfp2_supported) __ Push(r1, r0);
256 256
257 __ b(&entry); 257 __ b(&entry);
258 258
259 __ bind(&only_change_map); 259 __ bind(&only_change_map);
260 __ str(r3, FieldMemOperand(r2, HeapObject::kMapOffset)); 260 __ str(r3, FieldMemOperand(r2, HeapObject::kMapOffset));
261 __ RecordWriteField(r2, 261 __ RecordWriteField(r2,
262 HeapObject::kMapOffset, 262 HeapObject::kMapOffset,
263 r3, 263 r3,
264 r9, 264 r9,
265 kLRHasBeenSaved, 265 kLRHasNotBeenSaved,
266 kDontSaveFPRegs, 266 kDontSaveFPRegs,
267 OMIT_REMEMBERED_SET, 267 OMIT_REMEMBERED_SET,
268 OMIT_SMI_CHECK); 268 OMIT_SMI_CHECK);
269 __ b(&done); 269 __ b(&done);
270 270
271 // Call into runtime if GC is required. 271 // Call into runtime if GC is required.
272 __ bind(&gc_required); 272 __ bind(&gc_required);
273 __ pop(lr); 273 __ pop(lr);
274 __ b(fail); 274 __ b(fail);
275 275
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 patcher.masm()->add(r0, pc, Operand(-8)); 653 patcher.masm()->add(r0, pc, Operand(-8));
654 patcher.masm()->ldr(pc, MemOperand(pc, -4)); 654 patcher.masm()->ldr(pc, MemOperand(pc, -4));
655 patcher.masm()->dd(reinterpret_cast<uint32_t>(stub->instruction_start())); 655 patcher.masm()->dd(reinterpret_cast<uint32_t>(stub->instruction_start()));
656 } 656 }
657 } 657 }
658 658
659 659
660 } } // namespace v8::internal 660 } } // namespace v8::internal
661 661
662 #endif // V8_TARGET_ARCH_ARM 662 #endif // V8_TARGET_ARCH_ARM
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