diff options
author | Manu <manu-silicon@users.noreply.github.com> | 2015-12-02 03:53:21 +0300 |
---|---|---|
committer | Manu <manu-silicon@users.noreply.github.com> | 2015-12-02 04:01:52 +0300 |
commit | fff5ef5bd71d394af8c1c9013dc79fb1e5be81a1 (patch) | |
tree | 7fa5014271cc0d0eec8d2f2dbd3102f9910a880e /src/ILCompiler.Compiler | |
parent | b316dc04914be23108291bac36837ccc930dd9d5 (diff) |
Uniformization of preprocessor macros for targets
See issue #440.
Replaced TARGET_X64 by _TARGET_AMD64_.
Diffstat (limited to 'src/ILCompiler.Compiler')
-rw-r--r-- | src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/Target_X64/X64Emitter.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/Target_X64/X64Emitter.cs b/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/Target_X64/X64Emitter.cs index beef08831..45d8043b2 100644 --- a/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/Target_X64/X64Emitter.cs +++ b/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/Target_X64/X64Emitter.cs @@ -117,7 +117,7 @@ namespace ILCompiler.DependencyAnalysis.X64 if (addrMode.BaseReg == Register.None) { - //# ifdef TARGET_X64 + //# ifdef _TARGET_AMD64_ // x64 requires SIB to avoid RIP relative address emitSibByte = true; //#else @@ -243,7 +243,7 @@ namespace ILCompiler.DependencyAnalysis.X64 private void EmitIndirInstructionSize(int opcode, Register dstReg, ref AddrMode addrMode) { - //# ifndef TARGET_X64 + //# ifndef _TARGET_AMD64_ // assert that ESP, EBP, ESI, EDI are not accessed as bytes in 32-bit mode // Debug.Assert(!(addrMode.Size == AddrModeSize.Int8 && dstReg > Register.RBX)); //#endif |