diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-03-22 13:41:56 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-03-22 13:41:56 -0700 |
commit | 58d5b3864326588863ee9ce30953563ebb8ce556 (patch) | |
tree | 71094bc4f084cc579c78a91c83cf458c5a8e3108 /src/analyzer.js | |
parent | 716fcc6759e4230ccfd893b7b452c1dda2e9b9bc (diff) |
correctly detect type of outputs of call to function pointers
Diffstat (limited to 'src/analyzer.js')
-rw-r--r-- | src/analyzer.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/analyzer.js b/src/analyzer.js index 92b7d8cf..b1991c3f 100644 --- a/src/analyzer.js +++ b/src/analyzer.js @@ -979,6 +979,9 @@ function analyzer(data, sidePass) { if (variable.origin === 'alloca') { variable.allocatedNum = item.allocatedNum; } + if (variable.origin === 'call') { + variable.type = getReturnType(variable.type); + } } }); |