Commit Graph

61385 Commits

Author SHA1 Message Date
nickysn
361594bafd * synchronized with trunk
git-svn-id: branches/wasm@47920 -
2020-12-31 04:00:04 +00:00
Mattias Gaertner
c1a2b6279e pastojs: fixed delay init specialized interface
git-svn-id: trunk@47919 -
2020-12-31 01:07:33 +00:00
marco
4353d36516 * commited patch(-5) by Andrey Sobol from mantis #38153 .
git-svn-id: trunk@47915 -
2020-12-30 20:37:24 +00:00
Mattias Gaertner
7032cba91e fcl-passrc: resolver: fixed typecast a(b.func) marking implicit call
git-svn-id: trunk@47914 -
2020-12-30 16:12:47 +00:00
joost
32999fbaba * Fixed missing slash in fppkg.cfg when installed in the root
git-svn-id: trunk@47913 -
2020-12-30 15:41:44 +00:00
michael
46d301b7b2 * Function result can also contain ^ in type
git-svn-id: trunk@47911 -
2020-12-30 14:35:30 +00:00
florian
b5725ac3ed * while not official supported, bootstrapping with 3.0.4 fixed
git-svn-id: trunk@47901 -
2020-12-30 09:34:22 +00:00
michael
6dafbfb7ca * Fix Pointer types as arguments
git-svn-id: trunk@47900 -
2020-12-30 08:52:38 +00:00
nickysn
253e64f66b + allocate 'noreuse' locals in allocbasepointer and allocframepointer
git-svn-id: branches/wasm@47898 -
2020-12-30 04:02:43 +00:00
nickysn
158da03691 + introduced TWasmLocal.allocnoreuse
git-svn-id: branches/wasm@47897 -
2020-12-30 03:46:32 +00:00
nickysn
57b976535f * synchronized with trunk
git-svn-id: branches/wasm@47896 -
2020-12-29 23:50:34 +00:00
Mattias Gaertner
8eafcd9490 pastojs: await with one param must be async function
git-svn-id: trunk@47895 -
2020-12-29 23:18:41 +00:00
florian
edfbf2ce30 * correctly handle inlined exits in dfa, resolves #38259
git-svn-id: trunk@47894 -
2020-12-29 22:35:33 +00:00
florian
6866b07266 * simplified test after r47892
git-svn-id: trunk@47893 -
2020-12-29 18:26:20 +00:00
florian
eb7702bea4 + implement align directive for records, resolves #28927
git-svn-id: trunk@47892 -
2020-12-29 18:19:35 +00:00
marco
6f2bd77119 * committed fix by Emilio Martinez, first parameter of CreateDataAdviseHolder should be OUT
git-svn-id: trunk@47891 -
2020-12-29 14:52:03 +00:00
Jonas Maebe
2fc672452d * fixed error in load_fpu_location triggered by round() (fixes webtbs/tw32671
on i386 after r47854)

git-svn-id: trunk@47890 -
2020-12-29 13:07:41 +00:00
michael
73dd1afd7d * Fix bug ID #38269 (caret can be start of string)
git-svn-id: trunk@47889 -
2020-12-29 10:42:40 +00:00
nickysn
08580ed628 + introduced ttgwasm(tg).allocframepointer and .allocbasepointer
git-svn-id: branches/wasm@47888 -
2020-12-29 06:08:40 +00:00
nickysn
dc151465c5 * replace NR_LOCAL_FRAME_POINTER_REG with tcpuprocdef(current_procinfo.procdef).frame_pointer_ref in tcpuprocinfo.postprocess_code instead of inside the register allocator
git-svn-id: branches/wasm@47887 -
2020-12-29 05:52:36 +00:00
nickysn
4d0909d4d3 * replace NR_LOCAL_FRAME_POINTER_REG with tcpuprocdef(current_procinfo.procdef).frame_pointer_ref in the wasm32 register allocator
git-svn-id: branches/wasm@47884 -
2020-12-29 04:48:03 +00:00
nickysn
4a1c295955 - removed the ttgwasm.getlocal override, so that local variables are allocated on the linear stack
git-svn-id: branches/wasm@47883 -
2020-12-29 03:20:55 +00:00
Mattias Gaertner
50c659b1ca fcl-passrc: separate hints for not used fields: 4501, 4502
git-svn-id: trunk@47882 -
2020-12-29 02:38:12 +00:00
Mattias Gaertner
baac8efaab fcl-passrc: resolver: fixed resolving string lit switching to utf-16
git-svn-id: trunk@47881 -
2020-12-29 01:54:31 +00:00
Mattias Gaertner
db0fe18de5 fcl-passrc: fixed implicit call of specialized method
git-svn-id: trunk@47880 -
2020-12-29 01:16:22 +00:00
Mattias Gaertner
1f4868caa8 fcl-passrc: fixed parsing a(b).c<d>()
git-svn-id: trunk@47879 -
2020-12-29 00:26:00 +00:00
nickysn
11989ce010 * sync with trunk
git-svn-id: branches/wasm@47878 -
2020-12-28 23:53:50 +00:00
nickysn
96de6c4b96 * synchronize with trunk
git-svn-id: branches/wasm@47877 -
2020-12-28 18:45:24 +00:00
nickysn
90251d7050 * allocate the base and frame pointer correctly as locals after the previous commit
git-svn-id: branches/wasm@47876 -
2020-12-28 18:44:26 +00:00
nickysn
c3ac9eb559 * only allocate a local for tt_regallocator temps in ttgwasm.gethltemp
git-svn-id: branches/wasm@47875 -
2020-12-28 18:43:50 +00:00
nickysn
f138d66a2a * switch NR_FRAME_POINTER_REG to NR_LOCAL_FRAME_POINTER_REG
git-svn-id: branches/wasm@47874 -
2020-12-28 18:38:43 +00:00
nickysn
170fab85ff + introduced RS_EVAL_STACK_BASE and RS_LOCAL_STACK_POINTER_REG
git-svn-id: branches/wasm@47873 -
2020-12-28 18:32:16 +00:00
Mattias Gaertner
1d1dce1f60 fcl-passrc: fixed resolve string lit on non utf-8 system
git-svn-id: trunk@47872 -
2020-12-28 18:19:35 +00:00
Jonas Maebe
ea55c5f7e3 - disable the i386 assembly code for Linux/i386 as it doesn't work with a
fixed stack (uses hardcoded stack offsets) (mantis #38260)

git-svn-id: trunk@47871 -
2020-12-28 16:58:58 +00:00
Mattias Gaertner
1cc31e73da fcl-passrc: fixed typecast specialized array to specialized type
git-svn-id: trunk@47870 -
2020-12-28 16:51:02 +00:00
florian
93be88b270 * reverted r47862
git-svn-id: trunk@47869 -
2020-12-28 16:18:55 +00:00
michael
f1db695809 * Move chm writer to separate unit
git-svn-id: trunk@47868 -
2020-12-28 13:55:22 +00:00
marco
185f20b9ec * fix comment typo mentioned by Bart
git-svn-id: trunk@47866 -
2020-12-28 10:46:35 +00:00
florian
6169bbeed5 + $codealign directive accepts setting maxcrecord
git-svn-id: trunk@47862 -
2020-12-27 21:54:01 +00:00
Mattias Gaertner
968ea5c38b fcl-passrc: check class intf impl proc type modifiers match
git-svn-id: trunk@47861 -
2020-12-27 20:51:52 +00:00
Jonas Maebe
6d03f2807a * made exit codes unique
git-svn-id: trunk@47860 -
2020-12-27 13:19:05 +00:00
Jonas Maebe
b359080f42 * fixed round(currency) so it takes the rounding mode into account on
platforms where currency is "type int64"
  * inline trunc(currency), trunc(comp) and round(comp) on platforms where
    currency and comp are "type int64"

git-svn-id: trunk@47859 -
2020-12-27 13:19:02 +00:00
Jonas Maebe
514db355b1 * darwin/AArch64: always clear fpu exception flags regardless of the
triggered signal, as the kernel currently triggers SIGILL rather
    than SIGFPE for FPU exceptions

git-svn-id: trunk@47858 -
2020-12-27 13:18:59 +00:00
Jonas Maebe
8ba4c4bcf0 * factored out the creation of loadnodes for special variables/parameters
git-svn-id: trunk@47857 -
2020-12-27 13:18:56 +00:00
Jonas Maebe
5e3e4437c4 * use new TSym.EscapedRealName property when creating new symbols with the
same name as existing symbols

git-svn-id: trunk@47856 -
2020-12-27 13:18:53 +00:00
Jonas Maebe
5d51a788f7 - revert r47208
* properly fix the internalerror it hid: only replace the local symbols
    migrated to the parentfpstruct right before generating debug information,
    so that internally generated self/result loads during optimisation passes
    don't get confused by the replacement absolutevarsyms (those are normally
    never encountered during optimisation, as regular absolutevarsyms are
    replaced during parsing)

git-svn-id: trunk@47855 -
2020-12-27 13:18:50 +00:00
Jonas Maebe
3e047d3691 * generate more efficient code for trunc(currency), trunc(comp), and
round(comp) on platforms where currency and comp are handled using the FPU
   o also fixes trunc(comp) and trunc(currency) compilation for x86 on LLVM
     with -Oofastmath
 * add missing removal of excess fpu precision typecasts for trunc/round

git-svn-id: trunk@47854 -
2020-12-27 13:18:47 +00:00
Jonas Maebe
c0c0acbcb9 * fixed llvm shadow symtable construction in case fields are reordered
(-Ooorderfields) and hence their offsets are no longer monotonically rising
  * also fixed padding for variant bitpacked records in llvm shadow symtable

git-svn-id: trunk@47853 -
2020-12-27 13:18:44 +00:00
florian
98d3473a1a * i386: disable InterlockedCompareExchange128 implementation if PIC is enabled
git-svn-id: trunk@47852 -
2020-12-26 21:11:12 +00:00
florian
33afecd117 + support got modifier on labels
git-svn-id: trunk@47851 -
2020-12-26 18:51:45 +00:00