aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/analyzer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyzer.js b/src/analyzer.js
index c8529dd5..61dfbcca 100644
--- a/src/analyzer.js
+++ b/src/analyzer.js
@@ -210,7 +210,7 @@ function analyzer(data) {
// LLVM is SSA, so we always have a single assignment/write. We care about
// the reads/other uses.
walkJSON(func.lines, function(item) {
- if (item && item.intertype == 'assign' && ['alloca', 'load', 'call', 'bitcast', 'mathop', 'getelementptr', 'fastgetelementptrload'].indexOf(item.value.intertype) != -1) {
+ if (item && item.intertype == 'assign') {
func.variables[item.ident] = {
ident: item.ident,
type: item.value.type,