diff options
Diffstat (limited to 'lib/ruby_vm/mjit/context.rb')
-rw-r--r-- | lib/ruby_vm/mjit/context.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/ruby_vm/mjit/context.rb b/lib/ruby_vm/mjit/context.rb new file mode 100644 index 0000000000..2bc499cd4e --- /dev/null +++ b/lib/ruby_vm/mjit/context.rb @@ -0,0 +1,8 @@ +class RubyVM::MJIT::Context < Struct.new( + :stack_size, # @param [Integer] +) + def initialize(*) + super + self.stack_size ||= 0 + end +end |