Commit graph

21 commits

Author SHA1 Message Date
Gareth Rees
01c13bf1b5 New functions mps_arena_busy and mps_arena_postmortem, plus test coverage.
Copied from Perforce
 Change: 192247
 ServerID: perforce.ravenbrook.com
2016-09-08 13:55:43 +01:00
Gareth Rees
7ac2719739 Turn on keyword expansion.
Copied from Perforce
 Change: 189936
 ServerID: perforce.ravenbrook.com
2016-03-13 01:36:34 +00:00
Richard Brooksby
6a1b956a73 Expanding tabs.
Copied from Perforce
 Change: 189516
 ServerID: perforce.ravenbrook.com
2016-03-02 08:58:45 +00:00
Richard Brooksby
cce61c51de Removing assumption that area scanners take pointers to words. the client is at liberty to encode references in other ways.
Copied from Perforce
 Change: 189484
 ServerID: perforce.ravenbrook.com
2016-03-01 13:57:13 +00:00
Richard Brooksby
2f025ea5d2 Deprecating table roots.
Copied from Perforce
 Change: 189483
 ServerID: perforce.ravenbrook.com
2016-03-01 13:36:30 +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
6da9d98d98 Using an array rather than a stack for tagtest to get reliable results.
Copied from Perforce
 Change: 189204
 ServerID: perforce.ravenbrook.com
2016-02-15 19:42:44 +00:00
Richard Brooksby
8140fab4dd Creating general mps_root_create_thread and renaming mps_root_create_stack as a specialised version of it, mps_root_create_thread_tagged.
Copied from Perforce
 Change: 189198
 ServerID: perforce.ravenbrook.com
2016-02-15 19:12:59 +00:00
Richard Brooksby
2ad27f73b1 Lifting stack and register area scanner into mps interface to allow generalisation of stack format.
Copied from Perforce
 Change: 189195
 ServerID: perforce.ravenbrook.com
2016-02-15 17:46:45 +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
ff6d89c6f9 Fixing undeclared extern warning that caused travis build failure <https://travis-ci.org/ravenbrook/mps/jobs/108651659>.
Adding missing warning flags in Xcode to bring into line with strictness of makefiles and catch the above sooner.

Copied from Perforce
 Change: 189143
 ServerID: perforce.ravenbrook.com
2016-02-11 23:51:21 +00:00
Richard Brooksby
65c32e5965 Fixing misuse of format header offset to decode tagging. see <https://info.ravenbrook.com/mail/2016/02/11/17-20-12/0/> point 5.
Copied from Perforce
 Change: 189134
 ServerID: perforce.ravenbrook.com
2016-02-11 21:32:41 +00:00
Richard Brooksby
9820e020c2 Improving test output.
Copied from Perforce
 Change: 189129
 ServerID: perforce.ravenbrook.com
2016-02-10 20:42:21 +00:00
Gareth Rees
400c2ab8d1 Test the stack scanning more thoroughly, as suggested by nb in point 4 of <https://info.ravenbrook.com/mail/2015/09/09/16-18-10/0/>
Copied from Perforce
 Change: 188315
 ServerID: perforce.ravenbrook.com
2015-09-14 20:40:49 +01:00
Gareth Rees
7d43cfa380 Rename mps_root_create_reg_masked to mps_root_create_stack, and deprecate mps_root_create_reg, as suggested in review by nb <https://info.ravenbrook.com/mail/2015/09/09/16-18-10/0/>.
Copied from Perforce
 Change: 188312
 ServerID: perforce.ravenbrook.com
2015-09-14 20:16:14 +01:00
Gareth Rees
394e052f92 Avoid char_bit by using sizeof.
Copied from Perforce
 Change: 188279
 ServerID: perforce.ravenbrook.com
2015-09-07 21:47:49 +01:00
Gareth Rees
0af0dc11ba Number of tag bits has to depend on the word size.
Copied from Perforce
 Change: 188270
 ServerID: perforce.ravenbrook.com
2015-09-07 15:00:28 +01:00
Gareth Rees
ee40fbe034 Prevent compiler inlining which defeats the test.
Copied from Perforce
 Change: 188268
 ServerID: perforce.ravenbrook.com
2015-09-07 14:23:55 +01:00
Gareth Rees
48465209a2 Complete test case.
Copied from Perforce
 Change: 188264
 ServerID: perforce.ravenbrook.com
2015-09-07 12:40:10 +01:00
Gareth Rees
9b247d33ce Avoid "declaration of 'cons' shadows a global declaration" error from gcc.
Copied from Perforce
 Change: 188248
 ServerID: perforce.ravenbrook.com
2015-09-04 18:47:16 +01:00
Gareth Rees
bf57e7bc11 First draft of tagged pointer test case (runs, but doesn't test anything yet).
Copied from Perforce
 Change: 188244
 ServerID: perforce.ravenbrook.com
2015-09-04 16:51:59 +01:00