diff options
author | Alan Wu <[email protected]> | 2020-09-03 13:55:41 -0400 |
---|---|---|
committer | Alan Wu <[email protected]> | 2021-10-20 18:19:22 -0400 |
commit | 410323bd6d54c9f66f1d0af91d64102426191776 (patch) | |
tree | 8f0e0c4e650bd4dce982e7d712651e87e921866a /vm_exec.c | |
parent | 16c5ce863c06dd3ae5562f4ed86fb40ced670c69 (diff) |
Try to convince get better code out of Clang
Diffstat (limited to 'vm_exec.c')
-rw-r--r-- | vm_exec.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -93,8 +93,13 @@ vm_exec_core(rb_execution_context_t *ec, VALUE initial) #define USE_MACHINE_REGS 1 #elif defined(__GNUC__) && defined(__powerpc64__) +#if 0 DECL_SC_REG(const VALUE *, pc, "14"); DECL_SC_REG(rb_control_frame_t *, cfp, "15"); +#else + register rb_control_frame_t *reg_cfp; + const VALUE *reg_pc; +#endif #define USE_MACHINE_REGS 1 #elif defined(__GNUC__) && defined(__aarch64__) |