blob: b83bb875553068300b8bf2d1669c73e94469359a [file] [log] [blame] [edit]
var asm = (function(global, env, buffer) {
"use asm";
function a()
{
return 0;
}
function b()
{
return 0;
}
function c()
{
a();
return;
}
function d()
{
b();
// We expect that b gets replaced by a below
var e = b;
e();
return;
}
})(asmGlobalArg, asmLibraryArg, buffer);
// {"b" : "a"}