Skip to content

Commit 438fa25

Browse files
authored
Merge pull request #1394 from Unity-Technologies/jpm-enabled-default
For macOS arm64 setting the default to jit write protect
2 parents 3eba83e + 7ef1be8 commit 438fa25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mono/mini/mini-arm64.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,10 @@ static void mono_arm_restore_jit_protect_mode(jit_protect_mode* previous_jit_pro
216216
switch (*previous_jit_protect_mode)
217217
{
218218
case JPM_ENABLED:
219+
case JPM_NONE:
219220
mono_arm_jit_write_protect_enable();
220221
break;
221222
case JPM_DISABLED:
222-
case JPM_NONE:
223223
default:
224224
mono_arm_jit_write_protect_disable();
225225
}

0 commit comments

Comments
 (0)