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

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

Issue 9264039: Fix for assertion failure on kraken on ARM (Issue 1923).... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 10 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 | 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 3822 matching lines...) Expand 10 before | Expand all | Expand 10 after
3833 __ b(&done); 3833 __ b(&done);
3834 } 3834 }
3835 3835
3836 // Slow case: Call the runtime system to do the number allocation. 3836 // Slow case: Call the runtime system to do the number allocation.
3837 __ bind(&slow); 3837 __ bind(&slow);
3838 3838
3839 // TODO(3095996): Put a valid pointer value in the stack slot where the result 3839 // TODO(3095996): Put a valid pointer value in the stack slot where the result
3840 // register is stored, as this register is in the pointer map, but contains an 3840 // register is stored, as this register is in the pointer map, but contains an
3841 // integer value. 3841 // integer value.
3842 __ mov(ip, Operand(0)); 3842 __ mov(ip, Operand(0));
3843 __ StoreToSafepointRegisterSlot(ip, src);
3844 __ StoreToSafepointRegisterSlot(ip, dst); 3843 __ StoreToSafepointRegisterSlot(ip, dst);
3845 CallRuntimeFromDeferred(Runtime::kAllocateHeapNumber, 0, instr); 3844 CallRuntimeFromDeferred(Runtime::kAllocateHeapNumber, 0, instr);
3846 __ Move(dst, r0); 3845 __ Move(dst, r0);
3847 3846
3848 // Done. Put the value in dbl_scratch into the value of the allocated heap 3847 // Done. Put the value in dbl_scratch into the value of the allocated heap
3849 // number. 3848 // number.
3850 __ bind(&done); 3849 __ bind(&done);
3851 __ sub(ip, dst, Operand(kHeapObjectTag)); 3850 __ sub(ip, dst, Operand(kHeapObjectTag));
3852 __ vstr(dbl_scratch, ip, HeapNumber::kValueOffset); 3851 __ vstr(dbl_scratch, ip, HeapNumber::kValueOffset);
3853 __ StoreToSafepointRegisterSlot(dst, dst); 3852 __ StoreToSafepointRegisterSlot(dst, dst);
(...skipping 945 matching lines...) Expand 10 before | Expand all | Expand 10 after
4799 ASSERT(osr_pc_offset_ == -1); 4798 ASSERT(osr_pc_offset_ == -1);
4800 osr_pc_offset_ = masm()->pc_offset(); 4799 osr_pc_offset_ = masm()->pc_offset();
4801 } 4800 }
4802 4801
4803 4802
4804 4803
4805 4804
4806 #undef __ 4805 #undef __
4807 4806
4808 } } // namespace v8::internal 4807 } } // namespace v8::internal
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