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

Side by Side Diff: src/arm/assembler-arm.h

Issue 1223093004: [arm] Fix missing CheckBuffer for branches. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | src/arm/assembler-arm.cc » ('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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions 5 // modification, are permitted provided that the following conditions
6 // are met: 6 // are met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 void CodeTargetAlign(); 799 void CodeTargetAlign();
800 800
801 // Branch instructions 801 // Branch instructions
802 void b(int branch_offset, Condition cond = al); 802 void b(int branch_offset, Condition cond = al);
803 void bl(int branch_offset, Condition cond = al); 803 void bl(int branch_offset, Condition cond = al);
804 void blx(int branch_offset); // v5 and above 804 void blx(int branch_offset); // v5 and above
805 void blx(Register target, Condition cond = al); // v5 and above 805 void blx(Register target, Condition cond = al); // v5 and above
806 void bx(Register target, Condition cond = al); // v5 and above, plus v4t 806 void bx(Register target, Condition cond = al); // v5 and above, plus v4t
807 807
808 // Convenience branch instructions using labels 808 // Convenience branch instructions using labels
809 void b(Label* L, Condition cond = al) { b(branch_offset(L), cond); } 809 void b(Label* L, Condition cond = al);
810 void b(Condition cond, Label* L) { b(L, cond); } 810 void b(Condition cond, Label* L) { b(L, cond); }
811 void bl(Label* L, Condition cond = al) { bl(branch_offset(L), cond); } 811 void bl(Label* L, Condition cond = al);
812 void bl(Condition cond, Label* L) { bl(branch_offset(L), cond); } 812 void bl(Condition cond, Label* L) { bl(L, cond); }
813 void blx(Label* L) { blx(branch_offset(L)); } // v5 and above 813 void blx(Label* L); // v5 and above
814 814
815 // Data-processing instructions 815 // Data-processing instructions
816 816
817 void and_(Register dst, Register src1, const Operand& src2, 817 void and_(Register dst, Register src1, const Operand& src2,
818 SBit s = LeaveCC, Condition cond = al); 818 SBit s = LeaveCC, Condition cond = al);
819 819
820 void eor(Register dst, Register src1, const Operand& src2, 820 void eor(Register dst, Register src1, const Operand& src2,
821 SBit s = LeaveCC, Condition cond = al); 821 SBit s = LeaveCC, Condition cond = al);
822 822
823 void sub(Register dst, Register src1, const Operand& src2, 823 void sub(Register dst, Register src1, const Operand& src2,
(...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after
1661 public: 1661 public:
1662 explicit EnsureSpace(Assembler* assembler) { 1662 explicit EnsureSpace(Assembler* assembler) {
1663 assembler->CheckBuffer(); 1663 assembler->CheckBuffer();
1664 } 1664 }
1665 }; 1665 };
1666 1666
1667 1667
1668 } } // namespace v8::internal 1668 } } // namespace v8::internal
1669 1669
1670 #endif // V8_ARM_ASSEMBLER_ARM_H_ 1670 #endif // V8_ARM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698