Simplify and improve Basis makefile

This commit is contained in:
Surma
2021-05-21 13:38:18 +01:00
parent a6f3bb596a
commit e0895ca074
6 changed files with 27 additions and 118 deletions

View File

@@ -971,9 +971,9 @@ function updateGlobalBufferAndViews(buf) {
Module['HEAPF64'] = HEAPF64 = new Float64Array(buf);
}
var STACK_BASE = 5878720,
var STACK_BASE = 5878144,
STACKTOP = STACK_BASE,
STACK_MAX = 635840;
STACK_MAX = 635264;
var TOTAL_STACK = 5242880;
@@ -2971,11 +2971,6 @@ var ___wasm_call_ctors = Module["___wasm_call_ctors"] = function() {
return (___wasm_call_ctors = Module["___wasm_call_ctors"] = Module["asm"]["__wasm_call_ctors"]).apply(null, arguments);
};
/** @type {function(...*):?} */
var _free = Module["_free"] = function() {
return (_free = Module["_free"] = Module["asm"]["free"]).apply(null, arguments);
};
/** @type {function(...*):?} */
var _realloc = Module["_realloc"] = function() {
return (_realloc = Module["_realloc"] = Module["asm"]["realloc"]).apply(null, arguments);
@@ -2986,6 +2981,11 @@ var _malloc = Module["_malloc"] = function() {
return (_malloc = Module["_malloc"] = Module["asm"]["malloc"]).apply(null, arguments);
};
/** @type {function(...*):?} */
var _free = Module["_free"] = function() {
return (_free = Module["_free"] = Module["asm"]["free"]).apply(null, arguments);
};
/** @type {function(...*):?} */
var ___getTypeName = Module["___getTypeName"] = function() {
return (___getTypeName = Module["___getTypeName"] = Module["asm"]["__getTypeName"]).apply(null, arguments);