| Index: gcc/gcc/config/i386/i386.md
|
| diff --git a/gcc/gcc/config/i386/i386.md b/gcc/gcc/config/i386/i386.md
|
| index c2898b28f54d5d0b8832d23e00de88ed02bb3c3a..602f4b765134dde218de53aa06e56fb3dc098983 100644
|
| --- a/gcc/gcc/config/i386/i386.md
|
| +++ b/gcc/gcc/config/i386/i386.md
|
| @@ -15320,6 +15320,15 @@
|
| operands[0] = expand_simple_binop (Pmode, code, op0, op1, NULL_RTX, 0,
|
| OPTAB_DIRECT);
|
| }
|
| +
|
| + /* For NativeClient, force address into register and wrap it into UNSPEC. */
|
| + if (TARGET_NACL)
|
| + {
|
| + enum machine_mode mode = GET_MODE (operands[0]);
|
| + operands[0] = gen_rtx_UNSPEC (mode,
|
| + gen_rtvec (1, force_reg (mode, operands[0])),
|
| + UNSPEC_NACLJMP);
|
| + }
|
| })
|
|
|
| (define_insn "*tablejump_1"
|
|
|