summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2020-09-11 14:58:32 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:23 -0400
commit4929ba0a5ce2ea697bad4b8a33ce6047e99da04a (patch)
tree1ac4f0cc10a081677d76b73f29da38dd1e1440fb /compile.c
parent6a12fb2067e1d0a9ce610b0affd6a3113d13ff1c (diff)
Generate multiple copies of native code for `pop`
Insert generated addresses into st_table for mapping native code addresses back to info about VM instructions. Export `encoded_insn_data` to do this. Also some style fixes.
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.c b/compile.c
index dd19fe2736..192a1a3026 100644
--- a/compile.c
+++ b/compile.c
@@ -875,7 +875,7 @@ rb_iseq_translate_threaded_code(rb_iseq_t *iseq)
if (native_code_ptr)
encoded[i] = (VALUE)native_code_ptr;
else
- encoded[i] = (VALUE)table[insn];
+ encoded[i] = (VALUE)table[insn];
i += len;
}