summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-09-18 23:43:24 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2022-09-23 06:44:28 +0900
commit5cda5938f899ca9ac72f1e44c216f63826516422 (patch)
tree9f958c701a5e49c4b2e18c9d00d7e6185dd5ea7b /lib
parent2f5b37533e6129646ddfacffc3da34be02bc9e87 (diff)
Bindgen enum with builtin
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6418
Diffstat (limited to 'lib')
-rw-r--r--lib/mjit/c_32.rb8
-rw-r--r--lib/mjit/c_64.rb8
2 files changed, 0 insertions, 16 deletions
diff --git a/lib/mjit/c_32.rb b/lib/mjit/c_32.rb
index f2acfd1761..59ca977093 100644
--- a/lib/mjit/c_32.rb
+++ b/lib/mjit/c_32.rb
@@ -1,14 +1,6 @@
require_relative 'c_type'
module RubyVM::MJIT
- def C.VM_METHOD_TYPE_CFUNC = 1
-
- def C.VM_METHOD_TYPE_ISEQ = 0
-
- def C.VM_CALL_KW_SPLAT_bit = 7
-
- def C.VM_CALL_TAILCALL_bit = 8
-
def C.CALL_DATA
@CALL_DATA ||= self.rb_call_data
end
diff --git a/lib/mjit/c_64.rb b/lib/mjit/c_64.rb
index 4b0d5276eb..9ea32bd327 100644
--- a/lib/mjit/c_64.rb
+++ b/lib/mjit/c_64.rb
@@ -1,14 +1,6 @@
require_relative 'c_type'
module RubyVM::MJIT
- def C.VM_METHOD_TYPE_CFUNC = 1
-
- def C.VM_METHOD_TYPE_ISEQ = 0
-
- def C.VM_CALL_KW_SPLAT_bit = 7
-
- def C.VM_CALL_TAILCALL_bit = 8
-
def C.CALL_DATA
@CALL_DATA ||= self.rb_call_data
end