diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-03 00:00:48 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-03 00:00:48 +0000 |
| commit | 73aea4542aec03dd5e153e2cd2c7604e2cd40a42 (patch) | |
| tree | ebc886bfd59fd110056603ca64277fc80f0d6204 /template/opt_sc.inc.tmpl | |
| parent | 1cb8147a147dfda3f4a11c85c5c80f3bd2936efb (diff) | |
| download | ruby-73aea4542aec03dd5e153e2cd2c7604e2cd40a42.tar.gz ruby-73aea4542aec03dd5e153e2cd2c7604e2cd40a42.tar.xz ruby-73aea4542aec03dd5e153e2cd2c7604e2cd40a42.zip | |
* compile.c (iseq_set_sequence, iseq_insns_unification,
insn_data_to_s_detail): constified.
* iseq.c (insn_operand_intern, ruby_iseq_disasm_insn): ditto.
* template/{insns_info,opt_sc,optunifs}.inc.tmpl: ditto.
* tool/instruction.rb (OptUnifsIncGenerator): ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template/opt_sc.inc.tmpl')
| -rw-r--r-- | template/opt_sc.inc.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/template/opt_sc.inc.tmpl b/template/opt_sc.inc.tmpl index fc1c2f718..f5ad33966 100644 --- a/template/opt_sc.inc.tmpl +++ b/template/opt_sc.inc.tmpl @@ -22,11 +22,11 @@ #define SC_ERROR 0xffffffff -static VALUE sc_insn_info[][SC_STATE_SIZE] = { +static const VALUE sc_insn_info[][SC_STATE_SIZE] = { <%= sc_insn_info %> }; -static VALUE sc_insn_next[] = { +static const VALUE sc_insn_next[] = { <%= sc_insn_next %> }; |
