Richard Brooksby
8a4e5ab290
Moving scanning accounting to tracescanarea and creating analogous formatscan.
...
Copied from Perforce
Change: 189325
ServerID: perforce.ravenbrook.com
2016-02-19 12:11:50 +00:00
Richard Brooksby
b771a2112a
Implementing mps_root_create_area_tagged as documented.
...
Copied from Perforce
Change: 189324
ServerID: perforce.ravenbrook.com
2016-02-19 00:23:54 +00:00
Richard Brooksby
266228be7c
Renaming "bottom" and "top" of stack to "cold" and "hot" end, to prevent confusion about descending stacks.
...
Correcting design documentation relating to stacks.
Referencing hot and cold end concepts from glossary entry for control stacks.
Copied from Perforce
Change: 189320
ServerID: perforce.ravenbrook.com
2016-02-18 23:49:58 +00:00
Richard Brooksby
f84e1d8f7e
Fixing leftover sizeof(addr) that should've been changed to sizeof(word).
...
Copied from Perforce
Change: 189319
ServerID: perforce.ravenbrook.com
2016-02-18 21:22:05 +00:00
Richard Brooksby
ed561e855a
Avoid possible type pun hazard of jump buffer by casting to void *.
...
Copied from Perforce
Change: 189318
ServerID: perforce.ravenbrook.com
2016-02-18 21:18:05 +00:00
Richard Brooksby
0245c09885
Fixing indentation of case labels.
...
Copied from Perforce
Change: 189317
ServerID: perforce.ravenbrook.com
2016-02-18 21:12:28 +00:00
Richard Brooksby
845e0bedb6
Lifting closure structure out of areascanunion and using for rootfun as well. clarifying checking of same.
...
Copied from Perforce
Change: 189316
ServerID: perforce.ravenbrook.com
2016-02-18 21:12:00 +00:00
Richard Brooksby
724307ce1e
Removing check that pattern fits within mask, as this restricts the generality of scan_area.
...
Copied from Perforce
Change: 189315
ServerID: perforce.ravenbrook.com
2016-02-18 21:07:58 +00:00
Richard Brooksby
5ba0a765cc
Renaming variable _p to p, as it was left over from an earlier name clash by mistake.
...
Copied from Perforce
Change: 189313
ServerID: perforce.ravenbrook.com
2016-02-18 20:54:35 +00:00
Richard Brooksby
44664b7cc7
Removing check that pattern fits within mask, as this restricts the generality of scan_area.
...
Copied from Perforce
Change: 189312
ServerID: perforce.ravenbrook.com
2016-02-18 20:49:21 +00:00
Richard Brooksby
8a62ebbd66
Explaining why code in scan.c is written outside the mps interface.
...
Copied from Perforce
Change: 189311
ServerID: perforce.ravenbrook.com
2016-02-18 20:06:06 +00:00
Richard Brooksby
ec134b4eb0
Removing argument identifiers from prototype of mps_root_create_table_tagged.
...
Copied from Perforce
Change: 189310
ServerID: perforce.ravenbrook.com
2016-02-18 19:59:44 +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
fd45719968
Reducing the number of root union variants using a nested union. detabifying.
...
Copied from Perforce
Change: 189247
ServerID: perforce.ravenbrook.com
2016-02-16 16:27:57 +00:00
Richard Brooksby
855719a568
Documenting mps_root_create_area and mps_root_create_area_tagged.
...
Copied from Perforce
Change: 189243
ServerID: perforce.ravenbrook.com
2016-02-16 16:03:28 +00:00
Richard Brooksby
3ad63e43f1
Catch up merge from master sources.
...
Copied from Perforce
Change: 189228
ServerID: perforce.ravenbrook.com
2016-02-16 12:37:25 +00:00
Richard Brooksby
ffcded6544
Merge branch 'branch/2015-09-04/stack' of ssh://perforce.ravenbrook.com:1622/mps into stack
...
Copied from Perforce
Change: 189222
ServerID: perforce.ravenbrook.com
2016-02-16 11:55:09 +00:00
Richard Brooksby
3ec32b9a96
Fixing build for ansi.
...
Copied from Perforce
Change: 189221
ServerID: perforce.ravenbrook.com
2016-02-16 11:54:39 +00:00
Richard Brooksby
e5cc472798
Probably fixing build for pelles c (untested).
...
Copied from Perforce
Change: 189216
ServerID: perforce.ravenbrook.com
2016-02-16 11:53:15 +00:00
Richard Brooksby
9da5d74f1c
Fixing build for windows.
...
Copied from Perforce
Change: 189215
ServerID: perforce.ravenbrook.com
2016-02-16 11:40:17 +00:00
Richard Brooksby
c08c579ef1
Adding scan.c to xcode project.
...
Copied from Perforce
Change: 189220
ServerID: perforce.ravenbrook.com
2016-02-16 01:01:32 +00:00
Richard Brooksby
7e04c0f137
Fixing build for os x.
...
Copied from Perforce
Change: 189210
ServerID: perforce.ravenbrook.com
2016-02-16 00:55:23 +00:00
Richard Brooksby
553093f3ed
Documenting thread root registration functions.
...
Copied from Perforce
Change: 189207
ServerID: perforce.ravenbrook.com
2016-02-16 00:34:10 +00:00
Richard Brooksby
525e7dc95b
Making mps_root_create_thread a convenience function for the common case.
...
Copied from Perforce
Change: 189205
ServerID: perforce.ravenbrook.com
2016-02-15 23:30:12 +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
a759889048
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
53ce574bfe
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
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
9d0ae49fc9
Fixing case label indents.
...
Copied from Perforce
Change: 189194
ServerID: perforce.ravenbrook.com
2016-02-15 17:32:12 +00:00
Richard Brooksby
b04dbd8677
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
3b33c0808b
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
6b7c5f3d74
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
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
b6be181e15
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
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
8532653113
Catch-up merge from master sources.
...
Copied from Perforce
Change: 189140
ServerID: perforce.ravenbrook.com
2016-02-11 23:42:07 +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
c8fed5bb8d
Renaming tracescanareamasked to tracescanareatagged
...
Copied from Perforce
Change: 189133
ServerID: perforce.ravenbrook.com
2016-02-11 20:39:57 +00:00
Richard Brooksby
48c5cac4be
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
9c0c184728
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
a0e001c000
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
9820e020c2
Improving test output.
...
Copied from Perforce
Change: 189129
ServerID: perforce.ravenbrook.com
2016-02-10 20:42:21 +00:00
Richard Brooksby
f6d3a4f6af
Adding xcode target for tagtest.
...
Copied from Perforce
Change: 189128
ServerID: perforce.ravenbrook.com
2016-02-10 15:42:40 +00:00
Richard Brooksby
8ace24237d
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
989d78b1f4
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
080d135eec
Catch up merge from master sources.
...
Copied from Perforce
Change: 189088
ServerID: perforce.ravenbrook.com
2016-02-03 16:56:04 +00:00
Richard Brooksby
38f73575ae
Removing result code from arenasetsparecommitlimit since it can never fail.
...
See <https://info.ravenbrook.com/mail/2016/01/15/11-56-45/0 >.
Copied from Perforce
Change: 189084
ServerID: perforce.ravenbrook.com
2016-02-03 16:51:31 +00:00
Richard Brooksby
d4e54ba17e
Backing out the introduction of mps_arena_configure. see < https://info.ravenbrook.com/mail/2016/01/15/11-56-45/0 >.
...
Copied from Perforce
Change: 189081
ServerID: perforce.ravenbrook.com
2016-02-03 15:52:05 +00:00