Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2016-06-23 07:48:07 +0300
committerGitHub <noreply@github.com>2016-06-23 07:48:07 +0300
commitba94e13f6cdb5ad20903aed20589ab19f49be387 (patch)
tree569a0126940a5f2a7dfd9390d9855bf61716fd03 /src/Native/Runtime/PalRedhawk.h
parent1ca1f51b065d2bf4421a8352e13ab527baad6a88 (diff)
Fix build breaks on non-amd64 platforms (#1424)
Diffstat (limited to 'src/Native/Runtime/PalRedhawk.h')
-rw-r--r--src/Native/Runtime/PalRedhawk.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/Native/Runtime/PalRedhawk.h b/src/Native/Runtime/PalRedhawk.h
index 4d5dd9bff..8124bb9b8 100644
--- a/src/Native/Runtime/PalRedhawk.h
+++ b/src/Native/Runtime/PalRedhawk.h
@@ -278,8 +278,6 @@ typedef struct DECLSPEC_ALIGN(16) _CONTEXT {
void SetIp(UIntNative ip) { Rip = ip; }
void SetSp(UIntNative sp) { Rsp = sp; }
#ifdef UNIX_AMD64_ABI
- UIntNative GetArg0Reg() { return Rdi; }
- UIntNative GetArg1Reg() { return Rsi; }
void SetArg0Reg(UIntNative val) { Rdi = val; }
void SetArg1Reg(UIntNative val) { Rsi = val; }
#else // UNIX_AMD64_ABI
@@ -326,7 +324,7 @@ typedef struct DECLSPEC_ALIGN(8) _CONTEXT {
UInt32 Wcr[ARM_MAX_WATCHPOINTS];
UInt32 Padding2[2];
- void SetIP(UIntNative ip) { Pc = ip; }
+ void SetIp(UIntNative ip) { Pc = ip; }
void SetArg0Reg(UIntNative val) { R0 = val; }
void SetArg1Reg(UIntNative val) { R1 = val; }
UIntNative GetIp() { return Pc; }
@@ -377,8 +375,8 @@ typedef struct _CONTEXT {
UInt32 SegSs;
UInt8 ExtendedRegisters[MAXIMUM_SUPPORTED_EXTENSION];
- void SetIP(UIntNative ip) { Eip = ip; }
- void SetSP(UIntNative sp) { Esp = sp; }
+ void SetIp(UIntNative ip) { Eip = ip; }
+ void SetSp(UIntNative sp) { Esp = sp; }
void SetArg0Reg(UIntNative val) { Ecx = val; }
void SetArg1Reg(UIntNative val) { Edx = val; }
UIntNative GetIp() { return Eip; }
@@ -459,7 +457,7 @@ typedef struct DECLSPEC_ALIGN(16) _CONTEXT {
UInt32 Wcr[ARM64_MAX_WATCHPOINTS];
UInt64 Wvr[ARM64_MAX_WATCHPOINTS];
- void SetIP(UIntNative ip) { Pc = ip; }
+ void SetIp(UIntNative ip) { Pc = ip; }
void SetArg0Reg(UIntNative val) { X0 = val; }
void SetArg1Reg(UIntNative val) { X1 = val; }
UIntNative GetIp() { return Pc; }