summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authorJohn Hawthorn <[email protected]>2019-10-28 17:24:07 -0700
committerNobuyoshi Nakada <[email protected]>2019-10-29 12:07:44 +0900
commitb86e5c9fec9d9ea0f9c70d9b20456680607399b3 ()
tree1bfcee7dae7d989895c8c7f24978ecff1563c712 /internal.h
parent85b88c1d89924d00ecd893cea696d2a94232745c (diff)
Clang can also use C call cache
Previously this was restricted to only gcc because of the GCC_VERSION_SINCE check (which explicitly excludes clang). GCC 3.3.0 is quite old so I feel relatively safe assuming that all reasonable versions of clang support this.
Notes: Merged: https://.com/ruby/ruby/pull/2628
-rw-r--r--internal.h2
1 files changed, 1 insertions, 1 deletions
@@ -2388,7 +2388,7 @@ struct rb_call_data {
struct rb_call_info ci;
};
VALUE rb_funcallv_with_cc(struct rb_call_data*, VALUE, ID, int, const VALUE*)
-#if GCC_VERSION_SINCE(3, 3, 0) && defined(__OPTIMIZE__)
__attribute__((__visibility__("default"), __nonnull__(1)))
# define rb_funcallv(recv, mid, argc, argv) \
__extension__({ \