From 196d2e2764813b54c538bf11eefc1e87962a394c Mon Sep 17 00:00:00 2001 From: John Paul Adrian Glaubitz Date: Tue, 2 Jun 2020 07:01:56 +0000 Subject: [PATCH] Bug 1325771 - mfbt:tests: Define RETURN_INSTR for m68k in TestPoisonArea r=glandium Define RETURN_INSTR for m68k in TestPoisonArea, i.e. the m68k assembly opcodes for "rts ; rts". Depends on D77289 Differential Revision: https://phabricator.services.mozilla.com/D77290 --- mfbt/tests/TestPoisonArea.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mfbt/tests/TestPoisonArea.cpp b/mfbt/tests/TestPoisonArea.cpp index fbd33647150a..4816bd968197 100644 --- a/mfbt/tests/TestPoisonArea.cpp +++ b/mfbt/tests/TestPoisonArea.cpp @@ -132,6 +132,9 @@ #elif defined _ARCH_PPC || defined _ARCH_PWR || defined _ARCH_PWR2 # define RETURN_INSTR 0x4E800020 /* blr */ +#elif defined __m68k__ +# define RETURN_INSTR 0x4E754E75 /* rts; rts */ + #elif defined __sparc || defined __sparcv9 # define RETURN_INSTR 0x81c3e008 /* retl */