diff options
| author | Max Bernstein <ruby@bernsteinbear.com> | 2026-02-09 18:55:32 -0500 |
|---|---|---|
| committer | Max Bernstein <tekknolagi@gmail.com> | 2026-02-09 19:28:04 -0500 |
| commit | f96d106d3a94661a4cc39c0285f78fe84ed2f891 (patch) | |
| tree | 71b2e71f5aa3e668b277094d14a5d081642b27c3 /array.c | |
| parent | 11c845efecc76735110e40d9b05ff5045f1ce925 (diff) | |
Don't use cexpr
Diffstat (limited to 'array.c')
| -rw-r--r-- | array.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -2715,6 +2715,14 @@ rb_jit_fixnum_inc(rb_execution_context_t *ec, VALUE self, VALUE num) return LONG2FIX(FIX2LONG(num) + 1); } +// Push a value onto an array and return the value. +VALUE +rb_jit_ary_push(rb_execution_context_t *ec, VALUE self, VALUE ary, VALUE val) +{ + rb_ary_push(ary, val); + return val; +} + /* * call-seq: * each {|element| ... } -> self |
