summaryrefslogtreecommitdiff
path: root/mjit_c.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2023-02-28 22:27:22 -0800
committerTakashi Kokubun <[email protected]>2023-03-05 23:28:59 -0800
commit536d8cc51b065315ff463594b5135abb5f1340da ()
treeb80b67d32c622bed64b423c7c16d733d442944ee /mjit_c.rb
parent33213542f241709727475a386a3fa189d426b52d (diff)
Fix invokesuper for railsbench
Notes: Merged: https://.com/ruby/ruby/pull/7448
-rw-r--r--mjit_c.rb9
1 files changed, 9 insertions, 0 deletions
@@ -226,6 +226,14 @@ module RubyVM::MJIT # :nodoc: all
Primitive.cexpr! 'rb_class_get_superclass(klass)'
end
#========================================================================================
#
# Old stuff
@@ -1262,6 +1270,7 @@ module RubyVM::MJIT # :nodoc: all
send_guard_symbol: [CType::Immediate.parse("size_t"), Primitive.cexpr!("OFFSETOF((*((struct rb_mjit_runtime_counters *)NULL)), send_guard_symbol)")],
send_guard_float: [CType::Immediate.parse("size_t"), Primitive.cexpr!("OFFSETOF((*((struct rb_mjit_runtime_counters *)NULL)), send_guard_float)")],
invokesuper_me_changed: [CType::Immediate.parse("size_t"), Primitive.cexpr!("OFFSETOF((*((struct rb_mjit_runtime_counters *)NULL)), invokesuper_me_changed)")],
getivar_megamorphic: [CType::Immediate.parse("size_t"), Primitive.cexpr!("OFFSETOF((*((struct rb_mjit_runtime_counters *)NULL)), getivar_megamorphic)")],
getivar_not_heap: [CType::Immediate.parse("size_t"), Primitive.cexpr!("OFFSETOF((*((struct rb_mjit_runtime_counters *)NULL)), getivar_not_heap)")],
getivar_not_t_object: [CType::Immediate.parse("size_t"), Primitive.cexpr!("OFFSETOF((*((struct rb_mjit_runtime_counters *)NULL)), getivar_not_t_object)")],