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

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

Issue 362003: Fix issue 491: constantpool dump violates ARM debugger assertion for return p... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 1 month 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 | 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 667 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 void jmp(Label* L) { b(L, al); } 678 void jmp(Label* L) { b(L, al); }
679 679
680 // Check the code size generated from label to here. 680 // Check the code size generated from label to here.
681 int InstructionsGeneratedSince(Label* l) { 681 int InstructionsGeneratedSince(Label* l) {
682 return (pc_offset() - l->pos()) / kInstrSize; 682 return (pc_offset() - l->pos()) / kInstrSize;
683 } 683 }
684 684
685 // Check whether an immediate fits an addressing mode 1 instruction. 685 // Check whether an immediate fits an addressing mode 1 instruction.
686 bool ImmediateFitsAddrMode1Instruction(int32_t imm32); 686 bool ImmediateFitsAddrMode1Instruction(int32_t imm32);
687 687
688 // Postpone the generation of the constant pool for the specified number of
689 // instructions.
690 void BlockConstPoolFor(int instructions);
691
688 // Debugging 692 // Debugging
689 693
690 // Mark address of the ExitJSFrame code. 694 // Mark address of the ExitJSFrame code.
691 void RecordJSReturn(); 695 void RecordJSReturn();
692 696
693 // Record a comment relocation entry that can be used by a disassembler. 697 // Record a comment relocation entry that can be used by a disassembler.
694 // Use --debug_code to enable. 698 // Use --debug_code to enable.
695 void RecordComment(const char* msg); 699 void RecordComment(const char* msg);
696 700
697 void RecordPosition(int pos); 701 void RecordPosition(int pos);
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
829 void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0); 833 void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0);
830 834
831 friend class RegExpMacroAssemblerARM; 835 friend class RegExpMacroAssemblerARM;
832 friend class RelocInfo; 836 friend class RelocInfo;
833 friend class CodePatcher; 837 friend class CodePatcher;
834 }; 838 };
835 839
836 } } // namespace v8::internal 840 } } // namespace v8::internal
837 841
838 #endif // V8_ARM_ASSEMBLER_ARM_H_ 842 #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