Remove USE_RVARGC code
We don't need this constant to be exposed anymore, so remove it
This commit is contained in:
parent
6cd0553ab7
commit
b7d591643a
Notes:
git
2022-11-14 23:42:29 +00:00
@ -1,5 +1,4 @@
|
||||
module RubyVM::MJIT
|
||||
USE_RVARGC = C.USE_RVARGC
|
||||
ROBJECT_EMBED_LEN_MAX = C.ROBJECT_EMBED_LEN_MAX
|
||||
|
||||
UNSUPPORTED_INSNS = [
|
||||
|
@ -134,10 +134,6 @@ module RubyVM::MJIT
|
||||
Primitive.cexpr! %q{ RBOOL(USE_LAZY_LOAD != 0) }
|
||||
end
|
||||
|
||||
def C.USE_RVARGC
|
||||
Primitive.cexpr! %q{ RBOOL(USE_RVARGC != 0) }
|
||||
end
|
||||
|
||||
def C.NOT_COMPILED_STACK_SIZE
|
||||
Primitive.cexpr! %q{ INT2NUM(NOT_COMPILED_STACK_SIZE) }
|
||||
end
|
||||
|
@ -329,7 +329,6 @@ generator = BindingGenerator.new(
|
||||
src_path: src_path,
|
||||
uses: %w[
|
||||
USE_LAZY_LOAD
|
||||
USE_RVARGC
|
||||
],
|
||||
values: {
|
||||
INT: %w[
|
||||
|
@ -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")
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user