racket/collects/drracket
Eli Barzilay 2189957b6f Change the errortrace protocol for `initialize-test-coverage-point' and
`test-covered' to use just the expression -- looks like there's no
reason to use an additional key.

Also, change its uses to map each syntax to an mcons where its mcar is
used to track coverage.  This is done everywhere, since it turns out to
be much faster to insert a `set-mcar!' with a 3d mpair, rather than a
call to a thunk.

Note that it still uses mpairs as a hack.  It "works" in the same way
that this simplified example does:

  (define-syntax m
    (let ([b (mcons 0 0)])
      (lambda (stx)
        (with-syntax ([b b])
          #'(case-lambda [() (mcar b)]
                         [(x) (set-mcar! b x)])))))

I think that it's fragile, and likely to stop working at some point, but
I don't see anything better for now.
2010-10-04 17:24:22 -04:00
..
private Change the errortrace protocol for `initialize-test-coverage-point' and 2010-10-04 17:24:22 -04:00
acks.rkt add two missing acks 2010-05-16 07:31:37 -06:00
arrow.rkt move drscheme and tests/drscheme to drracket and tests/drracket 2010-05-09 15:34:50 -06:00
default-code-style.rkt move drscheme and tests/drscheme to drracket and tests/drracket 2010-05-09 15:34:50 -06:00
doc.icns move drscheme and tests/drscheme to drracket and tests/drracket 2010-05-09 15:34:50 -06:00
drracket.creator move drscheme and tests/drscheme to drracket and tests/drracket 2010-05-09 15:34:50 -06:00
drracket.filetypes rackety Mac OS X .rkt description 2010-09-24 16:32:07 -06:00
drracket.rkt More Racketying 2010-06-18 21:35:56 -05:00
drracket.utiexports move drscheme and tests/drscheme to drracket and tests/drracket 2010-05-09 15:34:50 -06:00
info.rkt move drscheme and tests/drscheme to drracket and tests/drracket 2010-05-09 15:34:50 -06:00
installer.rkt got rid of some uses of collection-path 2010-07-25 15:15:57 -05:00
main.rkt move drscheme and tests/drscheme to drracket and tests/drracket 2010-05-09 15:34:50 -06:00
pltdoc.icns move drscheme and tests/drscheme to drracket and tests/drracket 2010-05-09 15:34:50 -06:00
sprof.rkt More Racketying 2010-06-18 21:35:56 -05:00
syncheck-drracket-button.rkt got rid of some uses of collection-path 2010-07-25 15:15:57 -05:00
syncheck.rkt broke up check syntax into multiple files 2010-08-07 14:35:02 -05:00
tool-lib.rkt changed the ->d contracts to ->i contracts 2010-09-09 14:21:35 -05:00
tool.rkt move drscheme and tests/drscheme to drracket and tests/drracket 2010-05-09 15:34:50 -06:00