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

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

Issue 354028: Fix xssue 492: ARM debug crash: mozilla/ecma/FunctionObjects/15.3.1.1-3... (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 664 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 SBit s = LeaveCC, Condition cond = al); 675 SBit s = LeaveCC, Condition cond = al);
676 676
677 // Jump unconditionally to given label. 677 // Jump unconditionally to given label.
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.
686 bool ImmediateFitsAddrMode1Instruction(int32_t imm32);
687
685 // Debugging 688 // Debugging
686 689
687 // Mark address of the ExitJSFrame code. 690 // Mark address of the ExitJSFrame code.
688 void RecordJSReturn(); 691 void RecordJSReturn();
689 692
690 // Record a comment relocation entry that can be used by a disassembler. 693 // Record a comment relocation entry that can be used by a disassembler.
691 // Use --debug_code to enable. 694 // Use --debug_code to enable.
692 void RecordComment(const char* msg); 695 void RecordComment(const char* msg);
693 696
694 void RecordPosition(int pos); 697 void RecordPosition(int pos);
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
826 void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0); 829 void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0);
827 830
828 friend class RegExpMacroAssemblerARM; 831 friend class RegExpMacroAssemblerARM;
829 friend class RelocInfo; 832 friend class RelocInfo;
830 friend class CodePatcher; 833 friend class CodePatcher;
831 }; 834 };
832 835
833 } } // namespace v8::internal 836 } } // namespace v8::internal
834 837
835 #endif // V8_ARM_ASSEMBLER_ARM_H_ 838 #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