aboutsummaryrefslogtreecommitdiff
path: root/src/runtime.js
AgeCommit message (Collapse)Author
2014-05-29NO_DYNAMIC_EXECUTION option to disable features using eval() or new Function()Alon Zakai
2014-05-07add Runtime.setTempRet0 method for symmetryFraser Adams
2014-04-24Committing the actual change nowFraser Adams
2014-03-31better error handling in EM_ASMAlon Zakai
2014-03-24fix caching of asm const strings; fixes #2253Alon Zakai
2014-03-07todo about TextEncoderAlon Zakai
2014-02-25Introduce the asmjs-unknown-emscripten target triple.Dan Gohman
2014-02-18add some asserts in dynCallAlon Zakai
2014-02-16RETAIN_COMPILER_SETTINGS, Runtime.getCompilerSetting and ↵Alon Zakai
emscripten_get_compiler_setting - an optional way to look up compiler flags at runtime
2014-01-29remove obsolete sig param to sign/unSignAlon Zakai
2014-01-18improve EM_ASM to tolerate quotes when safe, and error when not; fixes #2032Alon Zakai
2014-01-16enable a form of safe heap in asm, using js optimizer pass to ensure full ↵Alon Zakai
coverage and support for fastcomp
2014-01-01Merge pull request #1870 from inolen/structinfo_fixAlon Zakai
fix for structures generated by manually calling generateStructInfo
2013-11-28fix fastcomp vararg alignment, only 4-byteAlon Zakai
2013-11-28 - fix for structures generated by manually calling generateStructInfoAnthony Pesch
2013-11-17EM_ASM_INT and EM_ASM_DOUBLE, which allow input and output values from ↵Alon Zakai
EM_ASM; fixes #1819
2013-11-08Merge branch 'incoming' into f32Alon Zakai
Conflicts: src/parseTools.js src/preamble.js
2013-11-04Give names to most manually assigned functions in the .js files, in form ↵Jukka Jylänki
"var x = function()" -> "function x()" so that error stack traces and profiling stack traces are more informative and do not contain anonymous functions.
2013-11-01Merge branch 'incoming' into f32Alon Zakai
Conflicts: src/parseTools.js
2013-10-29handle vector types in calcAllocatedSizeAlon Zakai
2013-10-29use doubles in makeBigIntAlon Zakai
2013-10-25handle internal illegal iX fields in calculateStructAlignmentAlon Zakai
2013-10-18avoid allocating huge lists for [BIGNUM x type] typesAlon Zakai
2013-10-18support for vector types nested in othersAlon Zakai
2013-10-02remove whitespace in stack opsAlon Zakai
2013-10-02Optimize alignment rounding.Dan Gohman
Replace x>>2<<2 and x>>3<<3 with x&-4 and x&-8, respectively, since an and is cheaper than two shifts.
2013-10-02make function pointer aliasing configurableAlon Zakai
2013-09-23optimize string compares in getNativeTypeSizeAlon Zakai
2013-09-23optimize getNativeTypeSizeAlon Zakai
2013-09-10handle flexible arrays at the end of structs, whose elements are themselves ↵Alon Zakai
structs; fixes #1602
2013-09-03refactor dlfcn support into DLFCNAlon Zakai
2013-09-03typo fix, index is in arguments[0]Anthony Pesch
2013-09-03fix cleanup code to not happen in main moduleAlon Zakai
2013-09-03clean up shared modules when dlclose()dAlon Zakai
2013-09-03support function pointer calls across asm modules by passing them all ↵Alon Zakai
through invoke (for now), and have a global function table in the Runtime, which modules register their functions to
2013-08-20Only check needed > 0 if it was formerly > 0Aidan Hobson Sayers
2013-08-20Clearer (and faster?), as per jij's suggestionAidan Hobson Sayers
2013-08-20Fix 4 byte utf8 charactersAidan Hobson Sayers
2013-07-29accept [0 x ..] in the middle of structures, odd as it might seem, this is ↵Alon Zakai
valid c
2013-07-23properly handle generation of instances of structures ending in [0 x ..]Alon Zakai
2013-07-23fix structure size when it has a [0 x ..] at the end - that should add nothingAlon Zakai
2013-07-07rename __stackbase__ to spAlon Zakai
2013-06-19keep |0 on function calls, allow other bitwise ops on heap accesses etc.Alon Zakai
2013-05-04make memory management sane: 0 is null, then static including globals, then ↵Alon Zakai
stack, then dynamic/sbrk. deprecate shared libs (BUILD_AS_SHARED_LIB)
2013-04-29align struct fields to 64-bit in le32Alon Zakai
2013-04-29fix sscanf, note that all varargs are 64-bit alignedAlon Zakai
2013-04-29fix handling of empty structsAlon Zakai
2013-04-29remove unused lineAlon Zakai
2013-04-29align the stack to 64 bits in le32Alon Zakai
2013-04-29allow size to be null in getAlignSize, for native typesAlon Zakai