mirror of
https://github.com/ruby/ruby.git
synced 2025-08-25 22:14:37 +02:00
Refactor BranchStub
This commit is contained in:
parent
4bb4479165
commit
6c1b1fa1f5
9 changed files with 83 additions and 90 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue