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

Side by Side Diff: src/arm/virtual-frame-arm.cc

Issue 2054010: Fix arm debug build. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 7 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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 643 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 __ str(reg, ElementAt(this_far_down)); 654 __ str(reg, ElementAt(this_far_down));
655 } else { 655 } else {
656 ASSERT(virtual_elements == 2); 656 ASSERT(virtual_elements == 2);
657 ASSERT(!reg.is(r0)); 657 ASSERT(!reg.is(r0));
658 ASSERT(!reg.is(r1)); 658 ASSERT(!reg.is(r1));
659 Register dest = kBottomRegister[top_of_stack_state_]; 659 Register dest = kBottomRegister[top_of_stack_state_];
660 __ mov(dest, reg); 660 __ mov(dest, reg);
661 } 661 }
662 } else { 662 } else {
663 ASSERT(this_far_down >= 2); 663 ASSERT(this_far_down >= 2);
664 ASSERT(virtual_elements <= 2); 664 ASSERT(kVirtualElements[top_of_stack_state_] <= 2);
665 __ str(reg, ElementAt(this_far_down)); 665 __ str(reg, ElementAt(this_far_down));
666 } 666 }
667 } 667 }
668 668
669 669
670 Register VirtualFrame::GetTOSRegister() { 670 Register VirtualFrame::GetTOSRegister() {
671 if (SpilledScope::is_spilled()) return r0; 671 if (SpilledScope::is_spilled()) return r0;
672 672
673 EnsureOneFreeTOSRegister(); 673 EnsureOneFreeTOSRegister();
674 return kTopRegister[kStateAfterPush[top_of_stack_state_]]; 674 return kTopRegister[kStateAfterPush[top_of_stack_state_]];
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
742 default: 742 default:
743 UNREACHABLE(); 743 UNREACHABLE();
744 break; 744 break;
745 } 745 }
746 ASSERT(register_allocation_map_ == 0); // Not yet implemented. 746 ASSERT(register_allocation_map_ == 0); // Not yet implemented.
747 } 747 }
748 748
749 #undef __ 749 #undef __
750 750
751 } } // namespace v8::internal 751 } } // 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