summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-09-18 22:44:29 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2022-09-23 06:44:28 +0900
commit00c441ce7ac76dedd272acf9a9daec59d9d5d908 (patch)
treee09679aec6132f2d4eac5212a4da853e6fafe3c4 /lib
parente81a612413500caa6763a765d12255ea7f150f68 (diff)
Bindgen macro with builtin
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6418
Diffstat (limited to 'lib')
-rw-r--r--lib/mjit/c_32.rb10
-rw-r--r--lib/mjit/c_64.rb10
2 files changed, 0 insertions, 20 deletions
diff --git a/lib/mjit/c_32.rb b/lib/mjit/c_32.rb
index 7d70595ba2..f2acfd1761 100644
--- a/lib/mjit/c_32.rb
+++ b/lib/mjit/c_32.rb
@@ -1,16 +1,6 @@
require_relative 'c_type'
module RubyVM::MJIT
- def C.NOT_COMPILED_STACK_SIZE = -1
-
- def C.USE_LAZY_LOAD = false
-
- def C.USE_RVARGC = true
-
- def C.VM_CALL_KW_SPLAT = (0x01 << self.VM_CALL_KW_SPLAT_bit)
-
- def C.VM_CALL_TAILCALL = (0x01 << self.VM_CALL_TAILCALL_bit)
-
def C.VM_METHOD_TYPE_CFUNC = 1
def C.VM_METHOD_TYPE_ISEQ = 0
diff --git a/lib/mjit/c_64.rb b/lib/mjit/c_64.rb
index 33fb8475d6..4b0d5276eb 100644
--- a/lib/mjit/c_64.rb
+++ b/lib/mjit/c_64.rb
@@ -1,16 +1,6 @@
require_relative 'c_type'
module RubyVM::MJIT
- def C.NOT_COMPILED_STACK_SIZE = -1
-
- def C.USE_LAZY_LOAD = false
-
- def C.USE_RVARGC = true
-
- def C.VM_CALL_KW_SPLAT = (0x01 << self.VM_CALL_KW_SPLAT_bit)
-
- def C.VM_CALL_TAILCALL = (0x01 << self.VM_CALL_TAILCALL_bit)
-
def C.VM_METHOD_TYPE_CFUNC = 1
def C.VM_METHOD_TYPE_ISEQ = 0