summaryrefslogtreecommitdiff
path: root/tool/ruby_vm/views
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>2020-09-14 14:36:39 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:23 -0400
commit3739588811a621ccfd00aa7f8ad804cd1c60f92d (patch)
treec1228d4249a6f6222b95c003a14d3fe5612c95bb /tool/ruby_vm/views
parentca47899ccf9547223f4c64fc4b0837796bee09af (diff)
downloadruby-3739588811a621ccfd00aa7f8ad804cd1c60f92d.tar.gz
Remove PC argument from ujit instructions
Diffstat (limited to 'tool/ruby_vm/views')
-rw-r--r--tool/ruby_vm/views/vm.inc.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/ruby_vm/views/vm.inc.erb b/tool/ruby_vm/views/vm.inc.erb
index 49d6fc2e16..7942a3ef87 100644
--- a/tool/ruby_vm/views/vm.inc.erb
+++ b/tool/ruby_vm/views/vm.inc.erb
@@ -34,7 +34,7 @@ INSN_ENTRY(<%= insn.name %>)
START_OF_ORIGINAL_INSN(<%= insn.name %>);
// assumes USE_MACHINE_REGS, aka reg_pc setup,
// aka #define SET_PC(x) (reg_cfp->pc = reg_pc = (x))
- reg_pc = rb_ujit_empty_func(GET_CFP(), reg_pc);
+ reg_pc = rb_ujit_empty_func(GET_CFP());
END_INSN(<%= insn.name %>);
}
% end