I commented out the test for "function" in x86/asm.js :
x86.Assembler.prototype.linked = function (name, linkValue, width) { var that = Object.create(x86.Assembler.prototype.linked.prototype);
assert(typeof(name) === "string", "'name' argument must be a string"); // assert(typeof(linkValue) === "function", "'linkValue' argument must be a function"); assert(typeof(width) === "number", "'width' argument must be a number");
that.name = name; that.linkValue = linkValue; that.width = function () { return width; };
return that; };
Now the bootstrap goes even further... and hits a heap overflow:
... Performing IR lowering for: "runtime/ffi.js" Performing IR lowering for: "runtime/rtinit.js" Generating machine code for: "object layout source" Performing garbage collection Entering gcCollect Context pointer = 0x4eeb000 Leaving gcCollect *** RUN-TIME ERROR *** allocation exceeds heap limit
Erick... is the x86-64 backend good enough to run Tachyon on baro with lots of memory?
Marc