mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Try to convince get better code out of Clang
This commit is contained in:
parent
16c5ce863c
commit
410323bd6d
1 changed files with 5 additions and 0 deletions
|
@ -93,8 +93,13 @@ vm_exec_core(rb_execution_context_t *ec, VALUE initial)
|
||||||
#define USE_MACHINE_REGS 1
|
#define USE_MACHINE_REGS 1
|
||||||
|
|
||||||
#elif defined(__GNUC__) && defined(__powerpc64__)
|
#elif defined(__GNUC__) && defined(__powerpc64__)
|
||||||
|
#if 0
|
||||||
DECL_SC_REG(const VALUE *, pc, "14");
|
DECL_SC_REG(const VALUE *, pc, "14");
|
||||||
DECL_SC_REG(rb_control_frame_t *, cfp, "15");
|
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
|
#define USE_MACHINE_REGS 1
|
||||||
|
|
||||||
#elif defined(__GNUC__) && defined(__aarch64__)
|
#elif defined(__GNUC__) && defined(__aarch64__)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue