summaryrefslogtreecommitdiff
path: root/lib/ruby_vm/mjit/context.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2022-12-27 23:04:53 -0800
committerTakashi Kokubun <[email protected]>2023-03-05 22:11:20 -0800
commite4a824f7695a8de9afb90978ccda038b7d280372 (patch)
tree9ae92285d84ff4a2bac76bd925bad6a04c4d5d38 /lib/ruby_vm/mjit/context.rb
parent9f8f1afba2572ead6ce5a8ca456cb9cabf094c98 (diff)
Fix broken rebase
Diffstat (limited to 'lib/ruby_vm/mjit/context.rb')
-rw-r--r--lib/ruby_vm/mjit/context.rb8
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