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

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

Issue 10991045: Fix ARM bug introduced in r12604 that caused crashes on ARM (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 2 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/arm/macro-assembler-arm.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 4668 matching lines...) Expand 10 before | Expand all | Expand 10 after
4679 if (grow_mode == ALLOW_JSARRAY_GROWTH) { 4679 if (grow_mode == ALLOW_JSARRAY_GROWTH) {
4680 __ b(hs, &grow); 4680 __ b(hs, &grow);
4681 } else { 4681 } else {
4682 __ b(hs, &miss_force_generic); 4682 __ b(hs, &miss_force_generic);
4683 } 4683 }
4684 4684
4685 __ bind(&finish_store); 4685 __ bind(&finish_store);
4686 __ StoreNumberToDoubleElements(value_reg, 4686 __ StoreNumberToDoubleElements(value_reg,
4687 key_reg, 4687 key_reg,
4688 receiver_reg, 4688 receiver_reg,
4689 // All registers after this are overwritten.
4689 elements_reg, 4690 elements_reg,
4690 scratch1, 4691 scratch1,
4691 scratch2, 4692 scratch2,
4692 scratch3, 4693 scratch3,
4693 scratch4, 4694 scratch4,
4694 &transition_elements_kind); 4695 &transition_elements_kind);
4695 __ Ret(); 4696 __ Ret();
4696 4697
4697 // Handle store cache miss, replacing the ic with the generic stub. 4698 // Handle store cache miss, replacing the ic with the generic stub.
4698 __ bind(&miss_force_generic); 4699 __ bind(&miss_force_generic);
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
4773 __ Jump(ic_slow, RelocInfo::CODE_TARGET); 4774 __ Jump(ic_slow, RelocInfo::CODE_TARGET);
4774 } 4775 }
4775 } 4776 }
4776 4777
4777 4778
4778 #undef __ 4779 #undef __
4779 4780
4780 } } // namespace v8::internal 4781 } } // namespace v8::internal
4781 4782
4782 #endif // V8_TARGET_ARCH_ARM 4783 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698