summaryrefslogtreecommitdiff
path: root/template/opt_sc.inc.tmpl
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-03 00:00:48 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-03 00:00:48 +0000
commit5c1926ac82b9a9c20b2ea7f7707622b4d8dc3ecc (patch)
treeebc886bfd59fd110056603ca64277fc80f0d6204 /template/opt_sc.inc.tmpl
parent48206485212c2ba0d18b44a2afa34c483bed3c05 (diff)
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@15889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template/opt_sc.inc.tmpl')
-rw-r--r--template/opt_sc.inc.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/opt_sc.inc.tmpl b/template/opt_sc.inc.tmpl
index fc1c2f7..f5ad339 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 %>
};