aboutsummaryrefslogtreecommitdiff
path: root/src/analyzer.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/analyzer.js')
-rw-r--r--src/analyzer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyzer.js b/src/analyzer.js
index 8f2ea146..3384bdea 100644
--- a/src/analyzer.js
+++ b/src/analyzer.js
@@ -349,7 +349,7 @@ function analyzer(data) {
// Decision time
- var pointedType = removePointing(variable.type);
+ var pointedType = pointingLevels(variable.type) > 0 ? removePointing(variable.type) : null;
if (variable.origin == 'getelementptr') {
// Use our implementation that emulates pointers etc.
// TODO Can we perhaps nativize some of these? However to do so, we need to discover their