Fallback rb_iseq_complete
For compilers that do not eliminate references to functions that are never called, such as SunC.
This commit is contained in:
parent
2952dbad5e
commit
1a6f3becbb
@ -552,6 +552,9 @@ struct rb_iseq_struct {
|
|||||||
#define USE_LAZY_LOAD 0
|
#define USE_LAZY_LOAD 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !USE_LAZY_LOAD
|
||||||
|
static inline const rb_iseq_t *rb_iseq_complete(const rb_iseq_t *iseq) {return 0;}
|
||||||
|
#endif
|
||||||
const rb_iseq_t *rb_iseq_complete(const rb_iseq_t *iseq);
|
const rb_iseq_t *rb_iseq_complete(const rb_iseq_t *iseq);
|
||||||
|
|
||||||
static inline const rb_iseq_t *
|
static inline const rb_iseq_t *
|
||||||
|
Loading…
x
Reference in New Issue
Block a user