Refactor BranchStub

This commit is contained in:
Takashi Kokubun 2023-02-07 00:17:13 -08:00
parent 4bb4479165
commit 6c1b1fa1f5
9 changed files with 83 additions and 90 deletions

View file

@ -81,6 +81,9 @@ module RubyVM::MJIT
end
define_method("#{member}=") do |value|
if to_ruby
value = C.to_value(value)
end
self[member] = value
end
end