mirror of
https://github.com/ruby/ruby.git
synced 2025-08-25 14:05:02 +02:00
9 lines
157 B
Ruby
9 lines
157 B
Ruby
module RubyVM::MJIT
|
|
class JITState < Struct.new(
|
|
:pc, # @param [Integer]
|
|
)
|
|
def operand(index)
|
|
C.VALUE.new(pc)[index + 1]
|
|
end
|
|
end
|
|
end
|