diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-12-05 11:23:35 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-12-07 14:23:23 -0800 |
commit | 508ffd8a41be3416767ad00a6b10947379c4f70e (patch) | |
tree | e56272adfefe49f8151963f407fb3f929864404e | |
parent | aeda884c3a0acafaa7437b73ed628b7d730e645c (diff) |
shorten temp var name
-rw-r--r-- | src/analyzer.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/analyzer.js b/src/analyzer.js index 6a1eb2f6..bef810b7 100644 --- a/src/analyzer.js +++ b/src/analyzer.js @@ -225,7 +225,7 @@ function analyzer(data, sidePass) { assert(subItem.intertype == 'value', 'We can only unfold illegal constants in phis'); // we must handle this in the phi itself, if we unfold normally it will not be pushed back with the phi } else { - var tempIdent = '$$emscripten$temp$' + (tempId++); + var tempIdent = '$$etemp$' + (tempId++); subItem.assignTo = tempIdent; unfolded.unshift(subItem); fixUnfolded(subItem); @@ -234,7 +234,7 @@ function analyzer(data, sidePass) { } else if (subItem.intertype == 'switch' && isIllegalType(subItem.type)) { subItem.switchLabels.forEach(function(switchLabel) { if (switchLabel.value[0] != '$') { - var tempIdent = '$$emscripten$temp$' + (tempId++); + var tempIdent = '$$etemp$' + (tempId++); unfolded.unshift({ assignTo: tempIdent, intertype: 'value', |