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

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

Issue 17116006: Fix a crash when generating forward jumps to labels at very high assembly offsets (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 7 years, 4 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 | « AUTHORS ('k') | 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 1530 matching lines...) Expand 10 before | Expand all | Expand 10 after
1541 // Instruction generation 1541 // Instruction generation
1542 void addrmod1(Instr instr, Register rn, Register rd, const Operand& x); 1542 void addrmod1(Instr instr, Register rn, Register rd, const Operand& x);
1543 void addrmod2(Instr instr, Register rd, const MemOperand& x); 1543 void addrmod2(Instr instr, Register rd, const MemOperand& x);
1544 void addrmod3(Instr instr, Register rd, const MemOperand& x); 1544 void addrmod3(Instr instr, Register rd, const MemOperand& x);
1545 void addrmod4(Instr instr, Register rn, RegList rl); 1545 void addrmod4(Instr instr, Register rn, RegList rl);
1546 void addrmod5(Instr instr, CRegister crd, const MemOperand& x); 1546 void addrmod5(Instr instr, CRegister crd, const MemOperand& x);
1547 1547
1548 // Labels 1548 // Labels
1549 void print(Label* L); 1549 void print(Label* L);
1550 void bind_to(Label* L, int pos); 1550 void bind_to(Label* L, int pos);
1551 void link_to(Label* L, Label* appendix);
1552 void next(Label* L); 1551 void next(Label* L);
1553 1552
1554 enum UseConstantPoolMode { 1553 enum UseConstantPoolMode {
1555 USE_CONSTANT_POOL, 1554 USE_CONSTANT_POOL,
1556 DONT_USE_CONSTANT_POOL 1555 DONT_USE_CONSTANT_POOL
1557 }; 1556 };
1558 1557
1559 // Record reloc info for current pc_ 1558 // Record reloc info for current pc_
1560 void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0, 1559 void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0,
1561 UseConstantPoolMode mode = USE_CONSTANT_POOL); 1560 UseConstantPoolMode mode = USE_CONSTANT_POOL);
(...skipping 15 matching lines...) Expand all
1577 public: 1576 public:
1578 explicit EnsureSpace(Assembler* assembler) { 1577 explicit EnsureSpace(Assembler* assembler) {
1579 assembler->CheckBuffer(); 1578 assembler->CheckBuffer();
1580 } 1579 }
1581 }; 1580 };
1582 1581
1583 1582
1584 } } // namespace v8::internal 1583 } } // namespace v8::internal
1585 1584
1586 #endif // V8_ARM_ASSEMBLER_ARM_H_ 1585 #endif // V8_ARM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « AUTHORS ('k') | src/arm/assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698