diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-06 14:27:15 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-06 14:27:15 +0000 |
commit | d409017bc6e7d5521111e607afcdc5e2dc25bbef (patch) | |
tree | 4578abd6a8f91d9231b345db891978951d368719 /tool/ruby_vm | |
parent | 3cb196f404efdb391dd3020a1df0518b12338802 (diff) | |
download | ruby-d409017bc6e7d5521111e607afcdc5e2dc25bbef.tar.gz |
mjit_compile.c: fix inconsistent indentation
and style of generated code.
I've used 2-space indentation at first but at some moment I started to
use insns.def contents for generated code. So the 4-space indentation
was introduced. But it does no longer make sense.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/ruby_vm')
-rw-r--r-- | tool/ruby_vm/views/mjit_compile.inc.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/ruby_vm/views/mjit_compile.inc.erb b/tool/ruby_vm/views/mjit_compile.inc.erb index 7437a44855..47492a0ed8 100644 --- a/tool/ruby_vm/views/mjit_compile.inc.erb +++ b/tool/ruby_vm/views/mjit_compile.inc.erb @@ -63,4 +63,4 @@ switch (insn) { /* if next_pos is already compiled, next instruction won't be compiled in C code and needs `goto`. */ if ((next_pos < body->iseq_size && status->compiled_for_pos[next_pos])) - fprintf(f, " goto label_%d;\n", next_pos); + fprintf(f, "goto label_%d;\n", next_pos); |