You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assertshared.Settings.PGO==0, 'pgo not supported in fastcomp'
894
894
assertshared.Settings.USE_TYPED_ARRAYS==2, 'altering USE_TYPED_ARRAYS is not supported'
895
895
assertshared.Settings.QUANTUM_SIZE==4, 'altering the QUANTUM_SIZE is not supported'
896
-
assertshared.Settings.INIT_HEAP==0, 'HEAP_INIT is not supported in fastcomp (and should never be needed except for debugging)'
897
896
exceptException, e:
898
897
logging.error('Compiler settings are incompatible with fastcomp. You can fall back to the older compiler core, although that is not recommended, see http://kripken.github.io/emscripten-site/docs/building_from_source/LLVM-Backend.html')
Copy file name to clipboardExpand all lines: emscripten.py
+16-7
Original file line number
Diff line number
Diff line change
@@ -165,6 +165,8 @@ def fix_dot_zero(m):
165
165
metadata['declares'] =filter(lambdai64_func: i64_funcnotin ['getHigh32', 'setHigh32', '__muldi3', '__divdi3', '__remdi3', '__udivdi3', '__uremdi3'], metadata['declares']) # FIXME: do these one by one as normal js lib funcs
166
166
167
167
# Integrate info from backend
168
+
ifsettings['SIDE_MODULE']:
169
+
settings['DEFAULT_LIBRARY_FUNCS_TO_INCLUDE'] = [] # we don't need any JS library contents in side modules
Runtime.alignFunctionTables();// XXX we should rely on this being an invariant
287
+
vartables=Runtime.getFunctionTables();
288
+
for(varsigintables){
289
+
tables[sig][index]=null;
290
+
}
291
+
#endif
292
+
},
293
+
294
+
#if RELOCATABLE
295
+
loadedDynamicLibraries: [],
296
+
297
+
loadDynamicLibrary: function(lib){
298
+
// TODO: addRunDep etc., do asynchronously when in the browser. for now we assume we can do a sync xhr, no mem init files in libs, and we ignore the sync xhr lag
299
+
varsrc=Module['read'](lib);
300
+
varlibModule=eval(src)(
301
+
Runtime.alignFunctionTables(),
302
+
Module
303
+
);
304
+
// add symbols into global namespace TODO: weak linking etc.
#force_recompile = force_recompile or os.stat(filename + '.o.ll').st_size > 50000 # if the file is big, recompile just to get ll_opts # Recompiling just for dfe in ll_opts is too costly
0 commit comments