Richard Brooksby
f14c66ed54
Removing incorrect assertion the stack pointers are word aligned.
...
Updating comments to refer to tags within design documents.
Copied from Perforce
Change: 189639
ServerID: perforce.ravenbrook.com
2016-03-04 13:58:53 +00:00
Richard Brooksby
33be6d3ece
Removing deleted ssan.c from the ansi platform build.
...
Copied from Perforce
Change: 189633
ServerID: perforce.ravenbrook.com
2016-03-04 13:49:42 +00:00
Richard Brooksby
6b9f693dc2
Deleting (very) obsolete design document design.mps.sso1al.
...
Clarifying porting guide (see <57cec90d6a (commitcomment-16498725) >).
Copied from Perforce
Change: 189630
ServerID: perforce.ravenbrook.com
2016-03-04 13:43:24 +00:00
Richard Brooksby
57cec90d6a
Renaming design.mps.ss to design.mps.stack-scan.
...
Copied from Perforce
Change: 189607
ServerID: perforce.ravenbrook.com
2016-03-04 11:54:19 +00:00
Richard Brooksby
f2593def0a
Really removing unnecessary stack alignment assumption from stackscan.
...
Copied from Perforce
Change: 189601
ServerID: perforce.ravenbrook.com
2016-03-04 11:25:59 +00:00
Richard Brooksby
275adfe651
Storing the pointer to the stack frame where setjmp was invoked, rather than the address of the jump buffer, as the hot end of the mutator state, because callee-save registered might be stored on either side of the jump buffer by the compiler.
...
Removing the unnecessary assumption that the stack ends are word-aligned.
Copied from Perforce
Change: 189582
ServerID: perforce.ravenbrook.com
2016-03-03 17:12:43 +00:00
Richard Brooksby
ae0871d36e
Removing dead references from the xcode project.
...
Copied from Perforce
Change: 189580
ServerID: perforce.ravenbrook.com
2016-03-03 16:36:43 +00:00
Richard Brooksby
883f73fc04
Scanning the whole stack context on every platform using portable code, because on no platform can we assume that any registers never contain references.
...
Copied from Perforce
Change: 189570
ServerID: perforce.ravenbrook.com
2016-03-03 02:10:58 +00:00
Richard Brooksby
2ec7860d5b
Integrating build changes from fri6gc.gmk to fri6ll.gmk to fix build on fri6ll.
...
Copied from Perforce
Change: 189564
ServerID: perforce.ravenbrook.com
2016-03-02 22:24:48 +00:00
Richard Brooksby
0911504dd8
Catch-up merge from master sources to branch/2014-10-26/sc.
...
Copied from Perforce
Change: 189563
ServerID: perforce.ravenbrook.com
2016-03-02 22:08:09 +00:00
Richard Brooksby
a8de8eec7c
Adding new platform fri6ll to support freebsd 10 and above, which have clang and not gcc by default.
...
Copied from Perforce
Change: 189560
ServerID: perforce.ravenbrook.com
2016-03-02 22:00:11 +00:00
Richard Brooksby
fd7aadf018
Removing files accidentally recreated by merge from master sources in changelist 189545.
...
Copied from Perforce
Change: 189557
ServerID: perforce.ravenbrook.com
2016-03-02 21:15:45 +00:00
Richard Brooksby
9e4c4c6ab6
Fixing build on w3i3mv.
...
Copied from Perforce
Change: 189554
ServerID: perforce.ravenbrook.com
2016-03-02 20:42:30 +00:00
Richard Brooksby
203b190f53
Fixing build on w3i6mv.
...
Copied from Perforce
Change: 189550
ServerID: perforce.ravenbrook.com
2016-03-02 19:36:58 +00:00
Richard Brooksby
f11eb2ef8c
Catch-up merge from master sources to branch/2014-10-26/sc.
...
Includes hairy merging of stack manipulation code and may need further work on each platform.
Copied from Perforce
Change: 189545
ServerID: perforce.ravenbrook.com
2016-03-02 17:55:25 +00:00
Richard Brooksby
83e2a971c7
Merging branch/2015-09-04/stack into master sources.
...
Copied from Perforce
Change: 189541
ServerID: perforce.ravenbrook.com
2016-03-02 16:44:16 +00:00
Richard Brooksby
3c6ee3d589
Fixing location of assumptions about descending stack that had gone astray.
...
Copied from Perforce
Change: 189534
ServerID: perforce.ravenbrook.com
2016-03-02 10:32:46 +00:00
Richard Brooksby
42624364bc
Reducing redundant code after examining output of clang on mps_scan_area.
...
Copied from Perforce
Change: 189531
ServerID: perforce.ravenbrook.com
2016-03-02 10:25:37 +00:00
Richard Brooksby
50384dd478
Fixing terminology from "top" to "hot end" of stack.
...
Copied from Perforce
Change: 189530
ServerID: perforce.ravenbrook.com
2016-03-02 10:16:44 +00:00
Richard Brooksby
0bb563ff31
Improving comment.
...
Copied from Perforce
Change: 189526
ServerID: perforce.ravenbrook.com
2016-03-02 10:00:15 +00:00
Richard Brooksby
58ef1c2a9c
Improving very old comments.
...
Copied from Perforce
Change: 189523
ServerID: perforce.ravenbrook.com
2016-03-02 09:47:01 +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
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
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
8baf699abe
Improving type naming in table code.
...
Copied from Perforce
Change: 189403
ServerID: perforce.ravenbrook.com
2016-02-29 13:19:43 +00:00
Richard Brooksby
a509df4c2b
Fix typo found by gdr.
...
Copied from Perforce
Change: 189376
ServerID: perforce.ravenbrook.com
2016-02-28 20:12:12 +00:00
Richard Brooksby
998a11b45a
Catch-up merge from master sources to branch/2015-09-04/stack.
...
Copied from Perforce
Change: 189370
ServerID: perforce.ravenbrook.com
2016-02-27 00:54:00 +00:00
Richard Brooksby
13eab92d00
Try later allocation plans if growing the arena fails.
...
Copied from Perforce
Change: 189363
ServerID: perforce.ravenbrook.com
2016-02-26 19:59:55 +00:00
Richard Brooksby
ef17ba047b
Purge spare committed memory when growing the arena fails due to the commit limit.
...
Copied from Perforce
Change: 189362
ServerID: perforce.ravenbrook.com
2016-02-26 19:59:55 +00:00
Richard Brooksby
2de01f7d2d
Improving detail of design.mps.bootstrap.land.sol and cross-referencing from source code.
...
Copied from Perforce
Change: 189345
ServerID: perforce.ravenbrook.com
2016-02-25 23:43:50 +00:00
Richard Brooksby
b26e5cc27d
Merging branch/2015-08-11/policy into master sources.
...
Copied from Perforce
Change: 189330
ServerID: perforce.ravenbrook.com
2016-02-25 21:46:11 +00:00
Richard Brooksby
6a15535df6
Removing unused function arenascannable.
...
Reinstate when needed. See <https://info.ravenbrook.com/mail/2016/02/17/13-05-54/0/ >.
Copied from Perforce
Change: 189292
ServerID: perforce.ravenbrook.com
2016-02-25 17:09:09 +00:00
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
c015827c36
Catch-up merge from master sources.
...
Copied from Perforce
Change: 189265
ServerID: perforce.ravenbrook.com
2016-02-17 11:04:51 +00:00
Richard Brooksby
325fbc0f15
Backing out changelist 187528 as it removed most of the flags from the c compiler command line on windows.
...
Copied from Perforce
Change: 189253
ServerID: perforce.ravenbrook.com
2016-02-16 17:46:27 +00:00
Richard Brooksby
137dc6a505
Backing out changelist 187528 as it removed most of the flags from the c compiler command line on windows.
...
Copied from Perforce
Change: 189253
ServerID: perforce.ravenbrook.com
2016-02-16 17:46:27 +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