diff options
author | Aaron Patterson <tenderlove@ruby-lang.org> | 2022-11-14 13:16:26 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2022-11-14 15:42:11 -0800 |
commit | b7d591643ae37a556217a22e1ee9e9c6ab7cfd3e (patch) | |
tree | 646864f9580f5f553c640b6e58f0814bdf6be380 /yjit | |
parent | 6cd0553ab7d6927e07cc7f00305cb413436b7608 (diff) |
Remove USE_RVARGC code
We don't need this constant to be exposed anymore, so remove it
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6728
Diffstat (limited to 'yjit')
-rw-r--r-- | yjit/bindgen/src/main.rs | 3 | ||||
-rw-r--r-- | yjit/src/cruby_bindings.inc.rs | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/yjit/bindgen/src/main.rs b/yjit/bindgen/src/main.rs index acbbaa613b..2b94d95608 100644 --- a/yjit/bindgen/src/main.rs +++ b/yjit/bindgen/src/main.rs @@ -63,9 +63,6 @@ fn main() { // Import YARV bytecode instruction constants .allowlist_type("ruby_vminsn_type") - // From include/ruby/internal/config.h - .allowlist_var("USE_RVARGC") - // From include/ruby/internal/special_consts.h .allowlist_type("ruby_special_consts") diff --git a/yjit/src/cruby_bindings.inc.rs b/yjit/src/cruby_bindings.inc.rs index d6218385b0..17e5a84c3c 100644 --- a/yjit/src/cruby_bindings.inc.rs +++ b/yjit/src/cruby_bindings.inc.rs @@ -123,7 +123,6 @@ impl<T> ::std::cmp::PartialEq for __BindgenUnionField<T> { } } impl<T> ::std::cmp::Eq for __BindgenUnionField<T> {} -pub const USE_RVARGC: u32 = 1; pub const INTEGER_REDEFINED_OP_FLAG: u32 = 1; pub const FLOAT_REDEFINED_OP_FLAG: u32 = 2; pub const STRING_REDEFINED_OP_FLAG: u32 = 4; |