summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/mjit/c_32.rb4
-rw-r--r--lib/mjit/c_64.rb4
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