Skip to content

Commit ff31ee3

Browse files
committed
Workaround for compiler bug.
1 parent 5ad76fa commit ff31ee3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

regalloc.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,8 @@ def cache_reg!(var)
240240
if free
241241
debug_is_register?(free)
242242
c = Cache.new(free,var)
243-
@cached[var.to_sym] = c
243+
k = var.to_sym
244+
@cached[k] = c
244245
@by_reg[free] = c
245246
else
246247
# STDERR.puts "NO FREE REGISTER (consider evicting if more important var?)"

0 commit comments

Comments
 (0)