Commit graph

19 commits

Author SHA1 Message Date
Richard Brooksby
ce2c19a174 Expanding tabs.
Copied from Perforce
 Change: 189516
 ServerID: perforce.ravenbrook.com
2016-03-02 08:58:45 +00:00
Richard Brooksby
13f0a20527 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
2193bd14bf Deprecating table roots.
Copied from Perforce
 Change: 189483
 ServerID: perforce.ravenbrook.com
2016-03-01 13:36:30 +00:00
Richard Brooksby
4487895475 Detabifying code and restructuredtext files.
Copied from Perforce
 Change: 189309
 ServerID: perforce.ravenbrook.com
2016-02-18 19:58:13 +00:00
Richard Brooksby
50eea20199 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
c1918bc79b 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
fe206feb2d 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
85a2d8683f 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
feb76a51a5 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
27730a09d7 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
e1cb5d0cbd Improving test output.
Copied from Perforce
 Change: 189129
 ServerID: perforce.ravenbrook.com
2016-02-10 20:42:21 +00:00
Gareth Rees
11a5504c22 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
08873c6c3a 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
5e39bfee56 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
9802de9e08 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
7c0ec7fbc6 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
fb2855b23b Complete test case.
Copied from Perforce
 Change: 188264
 ServerID: perforce.ravenbrook.com
2015-09-07 12:40:10 +01:00
Gareth Rees
866efe7c51 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
fec62a3e2c 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