Skip to content

Commit 4c5e4c2

Browse files
committed
fix comments
1 parent e32b49f commit 4c5e4c2

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

src/coreclr/jit/register.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,7 @@ REGDEF(K7, 7+KBASE, KMASK(7), "k7" )
133133

134134
REGDEF(STK, 8+KBASE, 0x0000, "STK" )
135135

136-
// Temporary workaround to avoid changing all the code that uses REG_* enum values.
137-
// as they conflict with symbols defined in Android NDK. This will be removed later
138-
// when we figure out a better solution.
136+
// Ignore REG_* symbols defined in Android NDK
139137
#if defined(TARGET_X86)
140138
#undef REG_EAX
141139
#define REG_EAX JITREG_EAX

src/coreclr/jit/registerarm.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,7 @@ REGALIAS(R13, SP)
7474
REGALIAS(R14, LR)
7575
REGALIAS(R15, PC)
7676

77-
// Temporary workaround to avoid changing all the code that uses REG_* enum values.
78-
// as they conflict with symbols defined in Android NDK. This will be removed later
79-
// when we figure out a better solution.
77+
// Ignore REG_* symbols defined in Android NDK
8078
#undef REG_R0
8179
#define REG_R0 JITREG_R0
8280
#undef REG_R1

src/coreclr/jit/registerarm64.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,7 @@ REGDEF(FFR, 1+NBASE, 0x0000, "ffr", "na")
124124
// This must be last!
125125
REGDEF(STK, 2+NBASE, 0x0000, "STK", "STK")
126126

127-
// Temporary workaround to avoid changing all the code that uses REG_* enum values.
128-
// as they conflict with symbols defined in Android NDK. This will be removed later
129-
// when we figure out a better solution.
127+
// Ignore REG_* symbols defined in Android NDK
130128
#undef REG_R0
131129
#define REG_R0 JITREG_R0
132130
#undef REG_R1

0 commit comments

Comments
 (0)