Commit History

Author SHA1 Message Date
  nickysn 594be1be04 * properly handle reference with negative offsets 4 years ago
  nickysn b35d3c5f3a * don't override inittempvariables for WebAssembly, because things like 4 years ago
  nickysn 1003d6499f * formatting 4 years ago
  nickysn 9e95895a9b * get rid of the internal error in thlcgwasm.a_cmp_ref_reg_stack by using swap_opcmp 4 years ago
  nickysn 5a84c4db61 - get rid of FRAME_POINTER_SYM and BASE_POINTER_SYM - they should not be used anymore 4 years ago
  nickysn 4d99fb3352 * allocate locals in a better way, so that we don't get 2 extra wasted locals per function 4 years ago
  nickysn e0dffb1c2c * fixes to the type conversions in thlcgwasm.resize_stack_int_val 4 years ago
  nickysn f03245e05c - get rid of maybe_adjust_cmp_stackval - it is unnecessary for WebAssembly, 4 years ago
  nickysn a9264cc608 - removed commented out method g_copyvalueparas 4 years ago
  nickysn 3a0d84fde2 - removed outdated comment from thlcgwasm.a_cmp_stack_stack 4 years ago
  nickysn f3482acbf9 - removed commented out code from thlcgwasm.g_proc_entry 4 years ago
  nickysn 83f88e515b * renamed the a_get/set/tee_local/global asm ops a_local/global_set/get/tee 4 years ago
  nickysn d8f55ebb48 * renamed the a_iXX_extendYYYY family of asm ops to their modern versions 4 years ago
  nickysn 910bbc6b37 * override is_pushleftright for WebAssembly and make it return true 4 years ago
  nickysn 61ba4869ae * quick and dirty fix for the move parameter order passing in g_concatcopy 4 years ago
  nickysn 4d933d74b9 + call the inherited methods for generating the standard entry/exit code, so that units are initialized/finalized 4 years ago
  nickysn 7e958e0a35 + introduced the discardresult directive and declared the UniqueString() 4 years ago
  nickysn 187659ff02 + more accurate stack tracking in thlcgwasm.a_loadaddr_ref_stack 4 years ago
  nickysn 84e2299399 * fixed getting of float function result after call 4 years ago
  nickysn 545c949586 * fixed thlcgwasm.a_op_ref_stack - it was not emitting the actual operation opcode 4 years ago
  nickysn 4fa09a6f8b - removed the trunc32 parameter of thlcgwasm.a_op_stack, because it is no longer used, nor necessary 4 years ago
  nickysn 3bdf0938c0 - removed thlcgwasm.maybepreparedivu32, because it is not needed - WebAssembly has 32-bit unsigned division, unlike the JVM 4 years ago
  nickysn ffebab9691 * fixed byte/word to int64 conversion in thlcgwasm.resize_stack_int_val 4 years ago
  nickysn dc9feba435 - removed thlcgwasm.loadstoreopc and replaced it with direct code - this actually improves code readability now 4 years ago
  nickysn aaf28ca259 - removed commented out code 4 years ago
  nickysn 72abf6f472 + add "fingerprints" in the beginning of each routine for easier debugging (this 4 years ago
  nickysn cb12a91936 * both stack parameters of 64-bit SHL/SHR/SAR in WebAssembly should be 64-bit, unlike the JVM 4 years ago
  nickysn a6410fae90 * fixes to the type conversions in thlcgwasm.resize_stack_int_val 4 years ago
  nickysn 17bfdee158 * decstack after call_indirect 4 years ago
  nickysn e4c9f030af * more precise stack tracking in thlcgwasm.prepare_stack_for_ref 4 years ago