summaryrefslogtreecommitdiff
path: root/insns.def
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-30 07:28:30 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-30 07:28:30 +0000
commit13e644cb2afb21862afeb2ef68ece2a5f82aabbb (patch)
tree2dbbe0bf66faed63554a5001b9269a24db5cf9c0 /insns.def
parent1d5431374d286c5ce7f8bfc6033663a0fc051eec (diff)
Fix mixed declarations in r31822.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insns.def')
-rw-r--r--insns.def3
1 files changed, 2 insertions, 1 deletions
diff --git a/insns.def b/insns.def
index 5cde2a632b..82fa0313f0 100644
--- a/insns.def
+++ b/insns.def
@@ -1461,8 +1461,9 @@ opt_mult
val = recv;
}
else {
+ volatile long c;
b = FIX2LONG(obj);
- volatile long c = a * b;
+ c = a * b;
if (FIXABLE(c) && c / a == b) {
val = LONG2FIX(c);