diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-09-06 15:59:05 +0900 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2022-09-06 15:59:08 +0900 |
commit | 4214023309ec68f49b30d8a1ee691b05ce75e287 (patch) | |
tree | 52894000d6f281a2882adac28b034300e79c8cdd /lib | |
parent | b726c06e7eeafff52e368179dbe79a11b1aff975 (diff) | |
download | ruby-4214023309ec68f49b30d8a1ee691b05ce75e287.tar.gz |
Run mjit-bindgen again
I'm thinking about Ruby builtin code instead of doing this.
It'll be hopefully more portable and easier because the same C code could
handle both 32bit and 64bit.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mjit/c_32.rb | 4 | ||||
-rw-r--r-- | lib/mjit/c_64.rb | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/lib/mjit/c_32.rb b/lib/mjit/c_32.rb index ee8324ba4d..85f9d3eab4 100644 --- a/lib/mjit/c_32.rb +++ b/lib/mjit/c_32.rb @@ -119,7 +119,7 @@ module RubyVM::MJIT def C.mjit_options @mjit_options ||= CType::Struct.new( - "mjit_options", 24, + "mjit_options", 32, on: [0, self._Bool], save_temps: [8, self._Bool], warnings: [16, self._Bool], @@ -129,6 +129,8 @@ module RubyVM::MJIT min_calls: [96, CType::Immediate.new(-4)], verbose: [128, CType::Immediate.new(4)], max_cache_size: [160, CType::Immediate.new(4)], + pause: [192, self._Bool], + pause: [224, self._Bool], ) end diff --git a/lib/mjit/c_64.rb b/lib/mjit/c_64.rb index cd0fd47e9e..864cb32b64 100644 --- a/lib/mjit/c_64.rb +++ b/lib/mjit/c_64.rb @@ -119,7 +119,7 @@ module RubyVM::MJIT def C.mjit_options @mjit_options ||= CType::Struct.new( - "mjit_options", 32, + "mjit_options", 40, on: [0, self._Bool], save_temps: [8, self._Bool], warnings: [16, self._Bool], @@ -129,6 +129,8 @@ module RubyVM::MJIT min_calls: [160, CType::Immediate.new(-4)], verbose: [192, CType::Immediate.new(4)], max_cache_size: [224, CType::Immediate.new(4)], + pause: [256, self._Bool], + custom: [264, self._Bool], ) end |