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

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, 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 | Annotate | Revision Log
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 1500 matching lines...) Expand 10 before | Expand all | Expand 10 after
1511 // Instruction generation 1511 // Instruction generation
1512 void addrmod1(Instr instr, Register rn, Register rd, const Operand& x); 1512 void addrmod1(Instr instr, Register rn, Register rd, const Operand& x);
1513 void addrmod2(Instr instr, Register rd, const MemOperand& x); 1513 void addrmod2(Instr instr, Register rd, const MemOperand& x);
1514 void addrmod3(Instr instr, Register rd, const MemOperand& x); 1514 void addrmod3(Instr instr, Register rd, const MemOperand& x);
1515 void addrmod4(Instr instr, Register rn, RegList rl); 1515 void addrmod4(Instr instr, Register rn, RegList rl);
1516 void addrmod5(Instr instr, CRegister crd, const MemOperand& x); 1516 void addrmod5(Instr instr, CRegister crd, const MemOperand& x);
1517 1517
1518 // Labels 1518 // Labels
1519 void print(Label* L); 1519 void print(Label* L);
1520 void bind_to(Label* L, int pos); 1520 void bind_to(Label* L, int pos);
1521 void link_to(Label* L, Label* appendix);
1522 void next(Label* L); 1521 void next(Label* L);
1523 1522
1524 enum UseConstantPoolMode { 1523 enum UseConstantPoolMode {
1525 USE_CONSTANT_POOL, 1524 USE_CONSTANT_POOL,
1526 DONT_USE_CONSTANT_POOL 1525 DONT_USE_CONSTANT_POOL
1527 }; 1526 };
1528 1527
1529 // Record reloc info for current pc_ 1528 // Record reloc info for current pc_
1530 void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0, 1529 void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0,
1531 UseConstantPoolMode mode = USE_CONSTANT_POOL); 1530 UseConstantPoolMode mode = USE_CONSTANT_POOL);
(...skipping 15 matching lines...) Expand all
1547 public: 1546 public:
1548 explicit EnsureSpace(Assembler* assembler) { 1547 explicit EnsureSpace(Assembler* assembler) {
1549 assembler->CheckBuffer(); 1548 assembler->CheckBuffer();
1550 } 1549 }
1551 }; 1550 };
1552 1551
1553 1552
1554 } } // namespace v8::internal 1553 } } // namespace v8::internal
1555 1554
1556 #endif // V8_ARM_ASSEMBLER_ARM_H_ 1555 #endif // V8_ARM_ASSEMBLER_ARM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698