Richard Brooksby
07a1290f3e
Eliminating closure_size from area scanners and root registration functions, as it isn't all that useful.
...
Copied from Perforce
Change: 189491
ServerID: perforce.ravenbrook.com
2016-03-01 15:59:06 +00:00
Richard Brooksby
0f8bee3762
Detabifying code and restructuredtext files.
...
Copied from Perforce
Change: 189309
ServerID: perforce.ravenbrook.com
2016-02-18 19:58:13 +00:00
Richard Brooksby
16bde84a68
Generalising tracescanarea to be a checking wrapper for all area scanners.
...
Copied from Perforce
Change: 189190
ServerID: perforce.ravenbrook.com
2016-02-15 15:44:57 +00:00
Richard Brooksby
a3fdda4678
Lifting and generalising area scanners to allow flexible tagging schemes.
...
Copied from Perforce
Change: 189189
ServerID: perforce.ravenbrook.com
2016-02-15 15:30:08 +00:00
Richard Brooksby
c8fed5bb8d
Renaming tracescanareamasked to tracescanareatagged
...
Copied from Perforce
Change: 189133
ServerID: perforce.ravenbrook.com
2016-02-11 20:39:57 +00:00
Gareth Rees
2255eabfda
Fix compilation on lii6.
...
Copied from Perforce
Change: 188235
ServerID: perforce.ravenbrook.com
2015-09-04 12:35:34 +01:00
Gareth Rees
edf30c06b4
New function mps_root_create_reg_masked applies a mask and pattern test to all words in registers and on the stack when scanning them. this supports tagged references in these locations.
...
Consistently use the type "Word *" for pointers into the stack or into saved registers.
Remove TraceScanAreaTagged.
Copied from Perforce
Change: 188231
ServerID: perforce.ravenbrook.com
2015-09-04 12:22:03 +01:00
Gareth Rees
2efed004c6
Fix comments in the protection implementations (it looks as if these were copied and then not modified) and bring discussion of supported platforms up to date. add file guards where missing.
...
Copied from Perforce
Change: 187313
ServerID: perforce.ravenbrook.com
2014-10-21 15:10:42 +01:00
Gareth Rees
857087804d
Simpler casting, and more checking.
...
Copied from Perforce
Change: 185505
ServerID: perforce.ravenbrook.com
2014-04-14 12:07:14 +01:00
Gareth Rees
94e3fff083
Turn on -wswitch-default for gcc.
...
Add missing default: cases to switch statements.
Copied from Perforce
Change: 185226
ServerID: perforce.ravenbrook.com
2014-04-04 12:16:59 +01:00
Gareth Rees
fab773659d
Use macro nonnegative so that we can keep asserting that values are >= 0 without provoking "unsigned comparison >= 0 is always true" warnings from gcc.
...
Copied from Perforce
Change: 183505
ServerID: perforce.ravenbrook.com
2013-10-01 14:27:52 +01:00
Gareth Rees
51a97f1c37
Avoid comparison of unsigned >= 0 so that we can compile without warnings under gcc -wextra.
...
Copied from Perforce
Change: 183501
ServerID: perforce.ravenbrook.com
2013-10-01 11:10:59 +01:00
Gareth Rees
3c48eff730
On platform lii6gc, the mps needs a bunch of symbols which are not defined if the -ansi option is given to gcc. these can be enabled by defining features like _gnu_source, but all headers share a common set of features (via <feature.h>) and so all sources in the same compilation unit must turn on the same set of features. make sure this happens by turning on the features in config.h (not mpstd.h).
...
Remove <string.h> from mpsi.h (not needed).
Copied from Perforce
Change: 182124
ServerID: perforce.ravenbrook.com
2013-05-23 19:35:47 +01:00
Gareth Rees
615418b5c8
Fix mutatorfaultcontextsp on lii3* and lii6*.
...
Copied from Perforce
Change: 181078
ServerID: perforce.ravenbrook.com
2013-03-07 15:31:40 +00:00
Richard Brooksby
15de8407ce
Moving linux-specific parts out of thli.c in order to unify with freebsd.
...
Copied from Perforce
Change: 178925
ServerID: perforce.ravenbrook.com
2012-08-14 17:05:11 +01:00
David Lovemore
be8a839d83
Made 64 bit linux port lii6gc. i've renamed thlii4.c to thli.c.
...
Copied from Perforce
Change: 178876
ServerID: perforce.ravenbrook.com
2012-08-09 16:05:08 +01:00