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

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

Issue 456001: Move CPU-specific constants from debug.h into the platform-specific directori... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years 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/codegen-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 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 static const int kCallTargetAddressOffset = kInstrSize; 559 static const int kCallTargetAddressOffset = kInstrSize;
560 560
561 // Distance between start of patched return sequence and the emitted address 561 // Distance between start of patched return sequence and the emitted address
562 // to jump to. 562 // to jump to.
563 static const int kPatchReturnSequenceAddressOffset = kInstrSize; 563 static const int kPatchReturnSequenceAddressOffset = kInstrSize;
564 564
565 // Difference between address of current opcode and value read from pc 565 // Difference between address of current opcode and value read from pc
566 // register. 566 // register.
567 static const int kPcLoadDelta = 8; 567 static const int kPcLoadDelta = 8;
568 568
569 static const int kJSReturnSequenceLength = 4;
569 570
570 // --------------------------------------------------------------------------- 571 // ---------------------------------------------------------------------------
571 // Code generation 572 // Code generation
572 573
573 // Insert the smallest number of nop instructions 574 // Insert the smallest number of nop instructions
574 // possible to align the pc offset to a multiple 575 // possible to align the pc offset to a multiple
575 // of m. m must be a power of 2 (>= 4). 576 // of m. m must be a power of 2 (>= 4).
576 void Align(int m); 577 void Align(int m);
577 578
578 // Branch instructions 579 // Branch instructions
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
990 void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0); 991 void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0);
991 992
992 friend class RegExpMacroAssemblerARM; 993 friend class RegExpMacroAssemblerARM;
993 friend class RelocInfo; 994 friend class RelocInfo;
994 friend class CodePatcher; 995 friend class CodePatcher;
995 }; 996 };
996 997
997 } } // namespace v8::internal 998 } } // namespace v8::internal
998 999
999 #endif // V8_ARM_ASSEMBLER_ARM_H_ 1000 #endif // V8_ARM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698