summaryrefslogtreecommitdiff
path: root/yjit/src/cruby.rs
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2024-02-08 07:22:07 -0800
committer<[email protected]>2024-02-08 10:22:07 -0500
commitb74c8abd1132824f95d81309f96645f272c064dc ()
tree568718a6e580b4538c65574cbb1f123291e8b12a /yjit/src/cruby.rs
parent01fd262e62076277a41af72ea13f20deb1b462a2 (diff)
YJIT: Skip pushing a frame for Hash#empty? (#9875)
-rw-r--r--yjit/src/cruby.rs3
1 files changed, 2 insertions, 1 deletions
@@ -107,11 +107,12 @@ pub use autogened::*;
// TODO: For #defines that affect memory layout, we need to check for them
// on build and fail if they're wrong. e.g. USE_FLONUM *must* be true.
-// These are functions we expose from vm_insnhelper.c, not in any header.
// Parsing it would result in a lot of duplicate definitions.
// Use bindgen for functions that are defined in headers or in yjit.c.
#[cfg_attr(test, allow(unused))] // We don't link against C code when testing
extern "C" {
pub fn rb_vm_splat_array(flag: VALUE, ary: VALUE) -> VALUE;
pub fn rb_vm_concat_array(ary1: VALUE, ary2st: VALUE) -> VALUE;
pub fn rb_vm_concat_to_array(ary1: VALUE, ary2st: VALUE) -> VALUE;