1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-26 16:51:46 -07:00
Commit graph

5686 commits

Author SHA1 Message Date
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
b384334a32 Reimplementing mps_root_create_reg in terms of rootcreatethreadtagged and abolishing rootreg. yay!
Copied from Perforce
 Change: 189197
 ServerID: perforce.ravenbrook.com
2016-02-15 18:19:30 +00:00
Richard Brooksby
ab41d5c4f7 Renaming rootreg_masked to rootthread_tagged with corresponding changes to other identifiers.
Copied from Perforce
 Change: 189196
 ServerID: perforce.ravenbrook.com
2016-02-15 17:57:06 +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
5c4eba9f7a Fixing case label indents.
Copied from Perforce
 Change: 189194
 ServerID: perforce.ravenbrook.com
2016-02-15 17:32:12 +00:00
Richard Brooksby
7238921356 Generalising roottable to rootarea and using it to implement mps_root_create_table_* and mps_root_create_area.
Copied from Perforce
 Change: 189193
 ServerID: perforce.ravenbrook.com
2016-02-15 17:30:45 +00:00
Richard Brooksby
fb6c150ba2 Generalising roottable_masked to rootarea_tagged and lifting scanner assumption.
Copied from Perforce
 Change: 189192
 ServerID: perforce.ravenbrook.com
2016-02-15 16:56:42 +00:00
Richard Brooksby
ae80015f4b Lifting assumptions about area scanners closer to interface.
Copied from Perforce
 Change: 189191
 ServerID: perforce.ravenbrook.com
2016-02-15 16:46:09 +00:00
Richard Brooksby
7df6c140f8 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
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
0277d49079 Lifting area scanners into client-side code.
These versions also produce tighter loops under Clang.

Copied from Perforce
 Change: 189188
 ServerID: perforce.ravenbrook.com
2016-02-14 00:57:28 +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
31870a9b95 Renaming tracescanareamasked to tracescanareatagged
Copied from Perforce
 Change: 189133
 ServerID: perforce.ravenbrook.com
2016-02-11 20:39:57 +00:00
Richard Brooksby
cf3c2b6674 Adding tagtest to the list of xcode targets so that it is build for testing.
Copied from Perforce
 Change: 189132
 ServerID: perforce.ravenbrook.com
2016-02-11 20:34:16 +00:00
Richard Brooksby
b2bc211404 Adding mps_root_create_table_tagged as an interface to more generally tagged roots.
Deprecating the less general mps_root_create_table_masked.

Copied from Perforce
 Change: 189131
 ServerID: perforce.ravenbrook.com
2016-02-11 20:28:39 +00:00
Richard Brooksby
aff58a3f60 Catch up merge from master sources.
Copied from Perforce
 Change: 189130
 ServerID: perforce.ravenbrook.com
2016-02-10 21:10:25 +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
Richard Brooksby
37a6c09290 Adding xcode target for tagtest.
Copied from Perforce
 Change: 189128
 ServerID: perforce.ravenbrook.com
2016-02-10 15:42:40 +00:00
Richard Brooksby
9eb9063e80 Ensuring landfinish doesn't try treecheck on unmapped memory. see <https://info.ravenbrook.com/mail/2016/02/10/14-42-20/0/>.
Copied from Perforce
 Change: 189121
 ServerID: perforce.ravenbrook.com
2016-02-10 15:14:21 +00:00
Richard Brooksby
fdd83366e1 Using "cold end" rather than "bottom" of the stack, to avoid ambiguity.
Copied from Perforce
 Change: 189106
 ServerID: perforce.ravenbrook.com
2016-02-05 12:10:03 +00:00
Richard Brooksby
76aa6cd16c Adding description code for rootreg_masked to rootdescribe.
Copied from Perforce
 Change: 189105
 ServerID: perforce.ravenbrook.com
2016-02-04 23:16:17 +00:00
Richard Brooksby
2dbb15a869 Fixing uninitialised variable warning from gcc 5.2.1.
Copied from Perforce
 Change: 189069
 ServerID: perforce.ravenbrook.com
2016-01-30 19:58:10 +00:00
Richard Brooksby
2e761705f9 Merge branch 'samskulls-master' to resolve <https://github.com/ravenbrook/mps/pull/4>. 2016-01-28 16:03:46 +00:00
Richard Brooksby
5ab8764d1c Fixing typo thanks to <https://github.com/ravenbrook/mps/pull/4#issuecomment-43051451> 2016-01-28 16:03:16 +00:00
Sam Skulls
cdb10c6e11 Fix typo 2016-01-28 16:01:52 +00:00
Richard Brooksby
34ece7d42b Mps git repository renamed from mps-temporary to mps.
Copied from Perforce
 Change: 189034
 ServerID: perforce.ravenbrook.com
2016-01-28 15:52:48 +00:00
Richard Brooksby
1008dd4348 Merging branch/2014-10-01/finalize.
Copied from Perforce
 Change: 188932
 ServerID: perforce.ravenbrook.com
2016-01-20 16:32:38 +00:00
Richard Brooksby
30240791c2 Adding reference to job for improving definalization. see <https://info.ravenbrook.com/mail/2016/01/19/17-09-22/0/>.
Copied from Perforce
 Change: 188929
 ServerID: perforce.ravenbrook.com
2016-01-20 11:44:28 +00:00
Richard Brooksby
1ac6033058 Catch-up merge from masters.
Copied from Perforce
 Change: 188928
 ServerID: perforce.ravenbrook.com
2016-01-20 11:04:09 +00:00
Richard Brooksby
2e23179b1f Merging branch/2014-10-25/thread.
Copied from Perforce
 Change: 188923
 ServerID: perforce.ravenbrook.com
2016-01-19 16:42:27 +00:00
Richard Brooksby
6056a7f835 Resolving review issues in <https://info.ravenbrook.com/mail/2016/01/19/11-51-10/0/>.
Improving documentation.
Fixing minor type misuse.

Copied from Perforce
 Change: 188922
 ServerID: perforce.ravenbrook.com
2016-01-19 16:23:39 +00:00
Richard Brooksby
a2f78d0df6 Catch-up merge from masters.
Copied from Perforce
 Change: 188921
 ServerID: perforce.ravenbrook.com
2016-01-19 16:22:39 +00:00
Richard Brooksby
6e65f1ff18 Using os-provided getopt_long where available, since it doesn't compile cleanly on os x.
The getopt_long code promises that the argv array is const, but permutes it. (This problem is mentioned in the man page.) We have trouble getting this past our strict compiler options, especially under Xcode.

Copied from Perforce
 Change: 188909
 ServerID: perforce.ravenbrook.com
2016-01-14 17:34:49 +00:00
Richard Brooksby
4d94b99a52 Making lack of section numbers consistent.
Improving attributions.

Copied from Perforce
 Change: 188846
 ServerID: perforce.ravenbrook.com
2015-12-21 11:06:06 +00:00
Nick Barnes
b3d356517e Improve documentation of mps_fix_call(): the called function must use mps_scan_begin and mps_scan_end itself.
Copied from Perforce
 Change: 188410
 ServerID: perforce.ravenbrook.com
2015-10-13 15:19:12 +01:00
Gareth Rees
68edb16949 Need to pass sizeof(mps_word_t) - 1 for the mask argument to get the old behaviour.
Copied from Perforce
 Change: 188317
 ServerID: perforce.ravenbrook.com
2015-09-14 21:17:19 +01: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
4e27e572af Add more assertions.
Copied from Perforce
 Change: 188304
 ServerID: perforce.ravenbrook.com
2015-09-12 20:59:10 +01:00
Nick Barnes
c1b0f88e91 Minor review fixes.
Copied from Perforce
 Change: 188293
 ServerID: perforce.ravenbrook.com
2015-09-09 17:13:00 +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
144990c99d Add accesssetcheck and check accessset arguments.
Copied from Perforce
 Change: 188251
 ServerID: perforce.ravenbrook.com
2015-09-04 20:15:36 +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
Gareth Rees
176f119346 Correct the manual about the assertion you get when destroying a pool without destroying all the allocation points first.
Copied from Perforce
 Change: 188243
 ServerID: perforce.ravenbrook.com
2015-09-04 16:51:33 +01:00
Gareth Rees
89f6a017bc Fix compilation on lii6.
Copied from Perforce
 Change: 188235
 ServerID: perforce.ravenbrook.com
2015-09-04 12:35:34 +01:00