aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2020-08-31 22:48:34 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2020-09-01 22:02:29 -0400
commit4c3f0597de99103374012522beecadeaa9e25eed (patch)
tree493fda46e4d0afe2182fe36d20852a89d6c1bab6 /tool
parent94b54b038c1f4d6d2b54e10dd0305b1bc283449b (diff)
downloadruby-4c3f0597de99103374012522beecadeaa9e25eed.tar.gz
Remove the pc argument of vm_trace()
This makes the binary 272 bytes smaller on -O3 GCC 10.2.0.
Diffstat (limited to 'tool')
-rw-r--r--tool/ruby_vm/views/_trace_instruction.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/ruby_vm/views/_trace_instruction.erb b/tool/ruby_vm/views/_trace_instruction.erb
index be2b091d48..d604e0318b 100644
--- a/tool/ruby_vm/views/_trace_instruction.erb
+++ b/tool/ruby_vm/views/_trace_instruction.erb
@@ -10,7 +10,7 @@
/* insn <%= insn.pretty_name %> */
INSN_ENTRY(<%= insn.name %>)
{
- vm_trace(ec, GET_CFP(), GET_PC());
+ vm_trace(ec, GET_CFP());
DISPATCH_ORIGINAL_INSN(<%= insn.jump_destination %>);
END_INSN(<%= insn.name %>);
}