nickysn
|
065d2c718d
|
* no need to copy the local var paramater in StrLen()
git-svn-id: branches/wasm@47948 -
|
2021-01-02 06:37:52 +00:00 |
|
nickysn
|
c24446c037
|
* copy all wasm parameters to the local stack, so that their address can be taken
git-svn-id: branches/wasm@47947 -
|
2021-01-02 06:36:20 +00:00 |
|
nickysn
|
40e4dadcdf
|
- removed wrong comment from tcpuparamanager.create_paraloc_info_intern
git-svn-id: branches/wasm@47946 -
|
2021-01-02 06:23:41 +00:00 |
|
nickysn
|
c470e851ba
|
+ generic implementation of thlcgwasm.a_loadaddr_ref_reg that should handle all possible combinations of base, index
and scalefactor
git-svn-id: branches/wasm@47945 -
|
2021-01-02 06:08:38 +00:00 |
|
nickysn
|
e4f4f25c44
|
+ handle any base and no index in the second if case in thlcgwasm.a_loadaddr_ref_reg
git-svn-id: branches/wasm@47944 -
|
2021-01-02 05:52:19 +00:00 |
|
nickysn
|
2084fede95
|
+ handle all constant address (regardless of whether they are relative to a symbol or not) in thlcgwasm.a_loadaddr_ref_reg
git-svn-id: branches/wasm@47943 -
|
2021-01-02 05:48:40 +00:00 |
|
nickysn
|
ded9afb787
|
+ check and generate an internal error if you attempt to take the address of a reference that exists in the local
stack in thlcgwasm.a_loadaddr_ref_reg
git-svn-id: branches/wasm@47942 -
|
2021-01-02 05:44:19 +00:00 |
|
nickysn
|
a1f5b57070
|
+ also check for ref.index and ref.symbol in the NR_LOCAL_FRAME_POINTER_REG base case in thlcgwasm.a_loadaddr_ref_reg
git-svn-id: branches/wasm@47941 -
|
2021-01-02 05:40:17 +00:00 |
|
nickysn
|
46bf123fcd
|
+ also ensure that ref.base and ref.index are not set for symbols in thlcgwasm.a_loadaddr_ref_reg
git-svn-id: branches/wasm@47940 -
|
2021-01-02 05:35:31 +00:00 |
|
nickysn
|
15387514b4
|
* changed the formatting in thlcgwasm.a_loadaddr_ref_reg to fit the style of the other compiler code
git-svn-id: branches/wasm@47939 -
|
2021-01-02 05:30:22 +00:00 |
|
nickysn
|
88d42344db
|
- removed comment thlcgwasm.a_loadaddr_ref_reg that is not true for wasm
git-svn-id: branches/wasm@47938 -
|
2021-01-02 05:25:32 +00:00 |
|
nickysn
|
f87f9969a7
|
* synchronized with trunk
git-svn-id: branches/wasm@47937 -
|
2021-01-02 04:55:50 +00:00 |
|
Mattias Gaertner
|
f0122bd4a0
|
fcl-passrc: resolver: parse library
git-svn-id: trunk@47936 -
|
2021-01-01 22:29:58 +00:00 |
|
florian
|
e6037961e3
|
* refactored constant folding code
git-svn-id: trunk@47935 -
|
2021-01-01 21:58:12 +00:00 |
|
florian
|
97abf6b495
|
* first part of fixing #38267: do not bail out early during constant folding
if the constant is 1 or -1
git-svn-id: trunk@47933 -
|
2021-01-01 15:26:13 +00:00 |
|
marco
|
8311837468
|
--no-offset option for chmls, makes it easier to compare listings.
git-svn-id: trunk@47932 -
|
2021-01-01 13:45:28 +00:00 |
|
nickysn
|
4b9397fce4
|
* our_iov converted to a local var
git-svn-id: branches/wasm@47931 -
|
2020-12-31 18:37:59 +00:00 |
|
nickysn
|
82e9cb0189
|
* our_nwritten converted to a local var
git-svn-id: branches/wasm@47930 -
|
2020-12-31 18:37:07 +00:00 |
|
nickysn
|
acb13602ea
|
* fixed getting the address of local variables
git-svn-id: branches/wasm@47929 -
|
2020-12-31 18:36:45 +00:00 |
|
nickysn
|
08ae48aebf
|
* i in strlen converted to a local variable, because that now works
git-svn-id: branches/wasm@47928 -
|
2020-12-31 18:24:16 +00:00 |
|
nickysn
|
31bc357c1b
|
* fixed internal error 2019083002 with e.g. inc(local)
git-svn-id: branches/wasm@47927 -
|
2020-12-31 18:23:49 +00:00 |
|
florian
|
b4a6c22234
|
* do not check inlined exit nodes for unset results, resolves #38259
git-svn-id: trunk@47926 -
|
2020-12-31 15:52:02 +00:00 |
|
florian
|
3482121831
|
* patch by Christo Crause: Fix missed optimization opportunities, resolves #38285
git-svn-id: trunk@47925 -
|
2020-12-31 15:33:39 +00:00 |
|
nickysn
|
0858579b50
|
* the gp: pchar global variable converted to local, because the code generator can now cope with this
git-svn-id: branches/wasm@47922 -
|
2020-12-31 08:18:00 +00:00 |
|
nickysn
|
46a09bd8e4
|
* fixed thlcgwasm.a_load_ref_ref for NR_EVAL_STACK_BASE source references
git-svn-id: branches/wasm@47921 -
|
2020-12-31 08:11:55 +00:00 |
|
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 |
|