diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-01-30 13:41:06 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-01-30 13:41:06 -0800 |
commit | c707fc8a860649099ba475a61aa1f8c8203774f4 (patch) | |
tree | 6dfc597699ed9d312a402aca3b0d4687cae2a27f /src/intertyper.js | |
parent | 764e81bd041395d4e3bd78c9c53b0676e34ef377 (diff) |
handle 32-bit bitcasts int <-> float properly
Diffstat (limited to 'src/intertyper.js')
-rw-r--r-- | src/intertyper.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intertyper.js b/src/intertyper.js index cf1d28ed..d03810d4 100644 --- a/src/intertyper.js +++ b/src/intertyper.js @@ -647,7 +647,7 @@ function intertyper(data, sidePass, baseLineNums) { item.type = item.tokens[4].text; // The final type Types.needAnalysis[item.type] = 0; var to = getTokenIndexByText(item.tokens, 'to'); - item.params = [parseLLVMSegment(item.tokens.slice(2, to))]; + item.params = [parseLLVMSegment(item.tokens.slice(1, to))]; item.ident = item.params[0].ident; item.type2 = item.tokens[1].text; // The original type Types.needAnalysis[item.type2] = 0; |