mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Remove printf family from the mjit header
Linking printf family functions makes mjit objects to link unnecessary code.
This commit is contained in:
parent
967b9743fa
commit
cd829bb078
Notes:
git
2021-09-11 08:41:53 +09:00
10 changed files with 72 additions and 57 deletions
|
@ -95,8 +95,8 @@ RUBY_SYMBOL_EXPORT_END
|
|||
|
||||
// same as rp, but add message header
|
||||
#define rp_m(msg, obj) do { \
|
||||
fprintf(stderr, "%s", (msg)); \
|
||||
rb_obj_info_dump((VALUE)obj); \
|
||||
fputs((msg), stderr); \
|
||||
rb_obj_info_dump((VALUE)(obj)); \
|
||||
} while (0)
|
||||
|
||||
// `ruby_debug_breakpoint()` does nothing,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue