aboutsummaryrefslogtreecommitdiff
path: root/src/analyzer.js
diff options
context:
space:
mode:
authoralon@honor <none@none>2010-10-09 23:25:31 -0700
committeralon@honor <none@none>2010-10-09 23:25:31 -0700
commita75307b84dc14ba8508eac5a64e798d0db7672a6 (patch)
treec6d24ba808c30c3128b72263b03d662008edd878 /src/analyzer.js
parent27d8e4cfa4400773cec9a5a60f8e25c800998d94 (diff)
pass types to makeGetValue/makeSetValue
Diffstat (limited to 'src/analyzer.js')
-rw-r--r--src/analyzer.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/analyzer.js b/src/analyzer.js
index 44e62ad2..c6c7b028 100644
--- a/src/analyzer.js
+++ b/src/analyzer.js
@@ -719,6 +719,7 @@ function analyzer(data) {
a.ident == b.value.ident && func.variables[a.ident].uses == 1) {
// print("// LOADSUSPECT: " + i + ',' + (i+1) + ':' + a.ident + ':' + b.value.ident);
a.intertype = 'fastgetelementptrload';
+ a.value.valueType = b.value.valueType;
a.ident = b.ident;
b.intertype = null;
i++;