racket/collects/tests
Matthew Flatt 7ad1ddab64 fix bytecode compiler safefor-space, tigher bytecode validation
The safe-for-space pass could add clearing operations on "typed"
stack positions, which are known to contain a fixnum, flonum, or
extflonum. Non-clearing references, however, were not annotated to
indicate that clearing references were present, since clearing is
not expected on typed positions.

Along the lines of not expecting clearing, the bytecode validator's
encoding of the stack doesn't accomodate both "has a type" and "claims
never to be cleared", so it couldn't detect the bytecode compiler
bug. (Also, this problem didn't show up in the HOSC paper's model of
the validator, because the model pre-dates type tracking.)

Fix the bytecode compiler's space-safety pass so that it never inserts
clearing operations for typed stack positions. Then, the validator can
simply reject any attempt to clear a typed position.

Also, annotate applications generated by lifting as safe-for-space
tail calls.

Merge to v5.3.4
2013-04-26 22:47:42 -06:00
..
algol60 Fix lots of indentation mistakes. 2013-03-14 10:55:47 -04:00
compiler
data Newlines at EOFs scan. 2013-02-23 02:09:56 -05:00
datalog Fix lots of indentation mistakes. 2013-03-14 10:55:47 -04:00
db Fix lots of indentation mistakes. 2013-03-14 10:55:47 -04:00
deinprogramm Fix lots of indentation mistakes. 2013-03-14 10:55:47 -04:00
drracket adjust run.sh so it runs all of the tests 2013-04-20 22:22:06 -05:00
eopl
errortrace
file fix bug in untar when unpacking a tar file with top-level files 2013-04-03 10:18:02 -05:00
framework Fix lots of indentation mistakes. 2013-03-14 10:55:47 -04:00
frtime
future Fix lots of indentation mistakes. 2013-03-14 10:55:47 -04:00
generic Fix #:methods regression at top-level 2013-04-12 16:10:27 -04:00
gracket racket/draw: fix in-region?' method of region%' 2013-04-26 16:28:29 -06:00
honu Fix lots of indentation mistakes. 2013-03-14 10:55:47 -04:00
htdp-lang
html Adding test for lex-name change 2013-01-18 06:35:52 -07:00
jpr
lazy
macro-debugger
match Fix lots of indentation mistakes. 2013-03-14 10:55:47 -04:00
mysterx
mzcom
net Fix parsing when CNAME is provided for MX query 2013-04-16 10:52:55 -04:00
openssl
pkg raco pkg: don't consult GitHub if checksum is given 2013-04-26 16:28:28 -06:00
plai fix plai/gc2/mutator for the case where a lambda-bound 2013-03-21 22:48:05 -05:00
planet
profile
r6rs
racket fix bytecode compiler safefor-space, tigher bytecode validation 2013-04-26 22:47:42 -06:00
racklog
rackunit Fixing standalone 2013-03-28 08:45:03 -06:00
scribble scribble/manual: add #:link-target?' to defproc', `defform', etc. 2013-04-21 09:49:14 -06:00
scriblib Generalizing define-bibtex-cite 2013-03-26 06:08:21 -06:00
slatex
srfi Fix year day for srfi/19-produced date*s 2013-01-18 15:48:11 -05:00
stepper Fix lots of indentation mistakes. 2013-03-14 10:55:47 -04:00
stxparse change stxparse tests to use unstable/macro-testing 2013-02-13 16:14:49 -05:00
syntax Defensively check pos before subtraction in module-reader.rkt. 2013-04-03 14:26:16 -06:00
syntax-color syntax-color/racket-lexer: update for single-precision and extflonums 2013-03-29 07:23:49 -06:00
test-engine
typed-racket Explicitly flush output after printing random testing seed. 2013-04-26 14:16:55 -04:00
units
unstable add 'else' support to 2dcond 2013-04-26 10:26:03 -05:00
utils
web-server Fix lots of indentation mistakes. 2013-03-14 10:55:47 -04:00
xml Fix lots of indentation mistakes. 2013-03-14 10:55:47 -04:00
xrepl Improve some printouts. 2013-04-17 16:39:10 -04:00
eli-tester.rkt Undo no-op change. 2013-03-22 11:22:49 -04:00
info.rkt
run-automated-tests.rkt
stress.rkt
zo-path.rkt
zo-size.rkt