aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-09-06 17:21:53 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-09-06 17:21:53 -0700
commitfce749a7066e51d57967889fab0600c285885b4b (patch)
tree0b6d76adc047a0c81c9e0caf0dbbae93c5461948
parent5e2b4f6ae51bfb2f647495682342e74b90e24c67 (diff)
remember inlined js in outliner
-rw-r--r--tools/js-optimizer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/js-optimizer.js b/tools/js-optimizer.js
index 7358e1df..788a76ed 100644
--- a/tools/js-optimizer.js
+++ b/tools/js-optimizer.js
@@ -3466,7 +3466,7 @@ function outline(ast) {
});
// finalize
var newFunc = ['defun', newIdent, ['sp'], code];
- var newAsmData = { params: { sp: ASM_INT }, vars: {} };
+ var newAsmData = { params: { sp: ASM_INT }, vars: {}, inlines: asmData.inlines };
for (var v in codeInfo.reads) {
if (v != 'sp') newAsmData.vars[v] = getAsmType(v, asmData);
}