Commit Graph
19 Commits
Author SHA1 Message Date
Nigel Tao 9933c971a2 Factor out a evalConstValueBinaryOp function. 2017-07-22 13:55:39 +10:00
Nigel Tao dec234779e Generate lang/check/reason.go. 2017-07-22 12:49:00 +10:00
Nigel Tao 61b771a418 Refactor the bounds checker's list of reasons. 2017-07-22 10:24:48 +10:00
Nigel Tao 389d9bc8bf Remove the placeholder code limit count. 2017-07-22 10:14:50 +10:00
Nigel Tao fd07fa1f27 Decode flate's clcode symbols. 2017-07-21 17:47:58 +10:00
Nigel Tao f7fb991619 Implement init_huffman. 2017-07-21 15:55:49 +10:00
Nigel Tao 93ca2f7496 Fix otherHandSide copy/pasto.
The reverse of "x < y" is "y > x", not "y >= x".
2017-06-22 14:38:42 +10:00
Nigel Tao 98a07921b1 Let "x != lo" narrow x's bounds lo..hi. 2017-06-10 14:43:16 +10:00
Nigel Tao 70d62bc608 Propagate "x == constValue" in bounds checking. 2017-06-10 11:53:50 +10:00
Nigel Tao ddbbdecce6 Add use_save_code to std/gif/decode_lzw.puffs. 2017-06-09 14:51:39 +10:00
Nigel Tao 6e7e566232 Rename token.IDMap to token.Map. 2017-06-08 13:10:01 +10:00
Nigel Tao ee27dffa9e Update facts after "x -= y". 2017-06-02 12:21:28 +10:00
Nigel Tao 747247a557 Rename some vars for consistency. 2017-06-02 11:15:28 +10:00
Nigel Tao 51da37c661 Update facts after "x += y". 2017-06-02 10:28:46 +10:00
Nigel Tao 1bfd5804bf Accept via "a < (b + c): a < c; 0 <= b". 2017-06-01 21:24:39 +10:00
Nigel Tao 3f5bb7a02b Check a while loop's pre and inv conditions. 2017-06-01 17:11:01 +10:00
Nigel Tao 9d18ffb1d8 Rename some "l0, l1" variables for consistency. 2017-05-20 12:37:43 +10:00
Nigel Tao 5bc5e43335 Actually check assertions. 2017-05-20 12:34:02 +10:00
Nigel Tao 6da91a226c Add fact tracking. 2017-05-19 14:41:55 +10:00