diff options
Diffstat (limited to 'src/comp.c')
| -rw-r--r-- | src/comp.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/comp.c b/src/comp.c index 3fa3361bbf2..86a9721108c 100644 --- a/src/comp.c +++ b/src/comp.c | |||
| @@ -1510,13 +1510,16 @@ emit_setjmp (gcc_jit_rvalue *buf) | |||
| 1510 | /* _setjmp (buf, __builtin_frame_address (0)) */ | 1510 | /* _setjmp (buf, __builtin_frame_address (0)) */ |
| 1511 | gcc_jit_rvalue *args[2]; | 1511 | gcc_jit_rvalue *args[2]; |
| 1512 | 1512 | ||
| 1513 | args[0] = gcc_jit_context_new_rvalue_from_int (comp.ctxt, comp.unsigned_type, 0); | 1513 | args[0] = |
| 1514 | gcc_jit_context_new_rvalue_from_int (comp.ctxt, comp.unsigned_type, 0); | ||
| 1514 | 1515 | ||
| 1515 | args[1] = gcc_jit_context_new_call (comp.ctxt, | 1516 | args[1] = |
| 1516 | NULL, | 1517 | gcc_jit_context_new_call ( |
| 1517 | gcc_jit_context_get_builtin_function (comp.ctxt, | 1518 | comp.ctxt, |
| 1518 | "__builtin_frame_address"), | 1519 | NULL, |
| 1519 | 1, args); | 1520 | gcc_jit_context_get_builtin_function (comp.ctxt, |
| 1521 | "__builtin_frame_address"), | ||
| 1522 | 1, args); | ||
| 1520 | args[0] = buf; | 1523 | args[0] = buf; |
| 1521 | return emit_call (intern_c_string (STR (SETJMP_NAME)), comp.int_type, 2, args, | 1524 | return emit_call (intern_c_string (STR (SETJMP_NAME)), comp.int_type, 2, args, |
| 1522 | false); | 1525 | false); |