correcting typo in the trampoline detection. Thanks to Campbell Hewett for the bug report.

This commit is contained in:
Danny Yoo 2011-11-21 16:09:08 -05:00
parent b336666943
commit ced1d2ba67
2 changed files with 2 additions and 2 deletions

View File

@ -220,7 +220,7 @@ EOF
(assemble-label (make-Label (BasicBlock-name a-basic-block)) blockht)
(assemble-label (make-Label (BasicBlock-name a-basic-block)) blockht))]
[else
(fprintf op "var ~a=function(M){--M.cbt<0;\n"
(fprintf op "var ~a=function(M){\n"
(assemble-label (make-Label (BasicBlock-name a-basic-block)) blockht))])
(assemble-block-statements (BasicBlock-name a-basic-block)
(BasicBlock-stmts a-basic-block)

View File

@ -300,7 +300,7 @@
var proc = makeClosure(name,
arity,
function(M) {
--M.cbt;
M.cbt--;
M.v = f(M);
M.e.length -= M.a;
return M.c.pop().label(M);