Permalink
Browse files

Don't leak rename_instruction to instrumentation stream before the in…

…struction is actually added to the function.
  • Loading branch information...
1 parent dc9acec commit 6e08ad82f202b16511d80b23bd5acb57da92f29b @whitequark committed Mar 24, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/furnace/ssa/named_value.rb
@@ -20,9 +20,8 @@ def name=(name)
def function=(function)
if @function != function
+ @name = function.make_name(@name)
@function = function
-
- self.name = @name
end
function

0 comments on commit 6e08ad8

Please sign in to comment.