Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove dead code.
  • Loading branch information
pmurias committed Sep 17, 2014
1 parent a31cb51 commit b3b5a13
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/vm/js/QAST/Compiler.nqp
Expand Up @@ -912,7 +912,6 @@ class QAST::CompilerJS does DWIMYNameMangling {
if $got == $T_STR {
my $tmp := $*BLOCK.add_tmp();
return Chunk.new($T_NUM, "(isNaN($tmp) ? 0 : $tmp)", [$chunk,"$tmp = parseFloat({$chunk.expr});\n"]);
return Chunk.new($T_NUM, $chunk.expr, [$chunk]);
}
}

Expand Down

0 comments on commit b3b5a13

Please sign in to comment.