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

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, 6 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 1387 matching lines...) Expand 10 before | Expand all | Expand 10 after
1398 // Instruction generation 1398 // Instruction generation
1399 void addrmod1(Instr instr, Register rn, Register rd, const Operand& x); 1399 void addrmod1(Instr instr, Register rn, Register rd, const Operand& x);
1400 void addrmod2(Instr instr, Register rd, const MemOperand& x); 1400 void addrmod2(Instr instr, Register rd, const MemOperand& x);
1401 void addrmod3(Instr instr, Register rd, const MemOperand& x); 1401 void addrmod3(Instr instr, Register rd, const MemOperand& x);
1402 void addrmod4(Instr instr, Register rn, RegList rl); 1402 void addrmod4(Instr instr, Register rn, RegList rl);
1403 void addrmod5(Instr instr, CRegister crd, const MemOperand& x); 1403 void addrmod5(Instr instr, CRegister crd, const MemOperand& x);
1404 1404
1405 // Labels 1405 // Labels
1406 void print(Label* L); 1406 void print(Label* L);
1407 void bind_to(Label* L, int pos); 1407 void bind_to(Label* L, int pos);
1408 void link_to(Label* L, Label* appendix);
1409 void next(Label* L); 1408 void next(Label* L);
1410 1409
1411 enum UseConstantPoolMode { 1410 enum UseConstantPoolMode {
1412 USE_CONSTANT_POOL, 1411 USE_CONSTANT_POOL,
1413 DONT_USE_CONSTANT_POOL 1412 DONT_USE_CONSTANT_POOL
1414 }; 1413 };
1415 1414
1416 // Record reloc info for current pc_ 1415 // Record reloc info for current pc_
1417 void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0, 1416 void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0,
1418 UseConstantPoolMode mode = USE_CONSTANT_POOL); 1417 UseConstantPoolMode mode = USE_CONSTANT_POOL);
(...skipping 15 matching lines...) Expand all
1434 public: 1433 public:
1435 explicit EnsureSpace(Assembler* assembler) { 1434 explicit EnsureSpace(Assembler* assembler) {
1436 assembler->CheckBuffer(); 1435 assembler->CheckBuffer();
1437 } 1436 }
1438 }; 1437 };
1439 1438
1440 1439
1441 } } // namespace v8::internal 1440 } } // namespace v8::internal
1442 1441
1443 #endif // V8_ARM_ASSEMBLER_ARM_H_ 1442 #endif // V8_ARM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « AUTHORS ('k') | src/arm/assembler-arm.cc » ('j') | test/mjsunit/big-code-segment.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698