Matthew Flatt
73807aef24
chaperones (v4.2.5.3)
...
svn: r18650
2010-03-28 01:10:33 +00:00
Matthew Flatt
17ba04ea4b
fix another bug in bytecode optimizer; merge to 4.2.5
...
svn: r18623
2010-03-26 04:00:48 +00:00
Matthew Flatt
72db535760
fix optimizer bug for inlining procedures under 'let' in rator position
...
svn: r18622
2010-03-25 20:09:41 +00:00
Noel Welsh
af84b331a1
Add the fx to fl conversion functions to Typed Scheme
...
Add tests for flonum operations to Typed Scheme test suite
Fix the compiler bug tests above uncovered
svn: r18609
2010-03-24 13:18:37 +00:00
Matthew Flatt
6edf2015c7
tighten JIT code for 'vector-set!'
...
svn: r18596
2010-03-22 17:43:45 +00:00
Kevin Tew
dedb261ea8
[Places] place-channels are syncable events, place-channel-send/recv, #t and #f are now communicated
...
svn: r18578
2010-03-18 16:53:16 +00:00
Kevin Tew
e9693b7d9d
[Places] channels can send fixnums, strings, lists, and vectors
...
svn: r18576
2010-03-18 16:42:05 +00:00
Matthew Flatt
590c7514da
build configure script correctly this time; probably merge to 4.2.5
...
svn: r18573
2010-03-18 13:23:05 +00:00
Matthew Flatt
9a21c31000
another try at fixing Solaris build; probably merge to 4.2.5
...
svn: r18572
2010-03-18 13:16:02 +00:00
Eli Barzilay
442a505be7
Welcome to a new PLT day.
...
svn: r18571
2010-03-18 07:50:16 +00:00
Matthew Flatt
4795b4ae27
rewind attempted fix for Solaris 10, because it doesn't work for Linux
...
svn: r18568
2010-03-17 19:30:44 +00:00
Eli Barzilay
83209d7b36
update version numbers for the v4.2.5 release
...
svn: r18564
2010-03-17 18:24:55 +00:00
Matthew Flatt
06f25d1359
Solaris patches from Johan Coppieters
...
svn: r18561
2010-03-17 17:38:49 +00:00
Matthew Flatt
00114d2f3e
fix JIT bug related to re-boxing flonums
...
svn: r18554
2010-03-17 12:51:04 +00:00
Matthew Flatt
e713e27eee
fix allocation bug in ffi
...
svn: r18530
2010-03-13 16:03:27 +00:00
Matthew Flatt
45da4cb3bc
fix (malloc 'atomic-interior)
...
svn: r18516
2010-03-12 02:58:19 +00:00
Eli Barzilay
4441266553
Welcome to a new PLT day.
...
svn: r18505
2010-03-10 08:50:27 +00:00
Stevie Strickland
b917d99ce0
This didn't appropriately adjust for is_method.
...
svn: r18499
2010-03-10 01:10:13 +00:00
Stevie Strickland
ef90b0f91d
Remove unused var, take Matthew's advice in scheme_extract_struct_procedure.
...
svn: r18494
2010-03-09 23:22:15 +00:00
Stevie Strickland
0ea1814b6b
extend the reduced_proc struct to contain info on method wrapping
...
svn: r18492
2010-03-09 22:47:00 +00:00
Stevie Strickland
7aa99ae28a
Branch for adding a procedure->method primitive.
...
svn: r18489
2010-03-08 21:48:25 +00:00
Matthew Flatt
4673b36dcf
adjust inlining heuristics again
...
svn: r18479
2010-03-06 03:44:07 +00:00
Matthew Flatt
1cbb303594
avoid optimizer imprecision for inlining
...
svn: r18474
2010-03-05 13:50:40 +00:00
Kevin Tew
636526d6f1
Places docs edits
...
svn: r18455
2010-03-03 21:42:24 +00:00
Kevin Tew
bf71d2a8af
refactored gc marked to clearly show fallthrough
...
svn: r18454
2010-03-03 21:42:14 +00:00
Matthew Flatt
af22da2e1e
try to fix build for OS X variant
...
svn: r18436
2010-03-02 21:44:52 +00:00
Matthew Flatt
625953ca72
fix Windows thread-scheduling timer when parallel futures are enabled
...
svn: r18432
2010-03-02 19:32:58 +00:00
Matthew Flatt
ef9de6517a
fix race condition in future-thread initialization
...
svn: r18430
2010-03-02 18:00:27 +00:00
Matthew Flatt
2ea9c6e02b
fix placement of future pause-for-gc loop in JIT-generated code
...
svn: r18429
2010-03-02 16:59:06 +00:00
Matthew Flatt
0197183739
fix MrEd3m build when using SGC
...
svn: r18428
2010-03-02 15:17:19 +00:00
Matthew Flatt
fced29e946
fix regexp bug in unicode-category patterns
...
svn: r18427
2010-03-02 15:09:47 +00:00
Matthew Flatt
068dc863c4
fix futures allocation bug
...
svn: r18426
2010-03-02 14:36:14 +00:00
Kevin Tew
cc0872007a
Stop the world for master collection
...
svn: r18424
2010-03-02 04:22:12 +00:00
Kevin Tew
c3b6de9a91
newgc.c debug cleanup
...
svn: r18423
2010-03-02 03:57:42 +00:00
John Clements
1656c0839b
dsitributed --> distributed
...
svn: r18411
2010-03-01 19:03:09 +00:00
Matthew Flatt
dff9786222
fix problems with background-thread select() in Mac OS X mred
...
svn: r18410
2010-03-01 18:54:09 +00:00
Kevin Tew
672cdf7347
fix scheme_restart_instance to init logging config param
...
svn: r18409
2010-03-01 17:54:22 +00:00
Kevin Tew
706c1b9e00
Fix missed rename
...
svn: r18408
2010-03-01 17:45:55 +00:00
Matthew Flatt
c856b1b72e
move hard-wired Mac TLS key from 0x108 to 0x110
...
svn: r18405
2010-03-01 13:13:24 +00:00
Eli Barzilay
d90c0e548b
Welcome to a new PLT day.
...
svn: r18403
2010-03-01 08:50:30 +00:00
Matthew Flatt
57ab0dee65
OS X futures: only x86
...
svn: r18400
2010-03-01 01:43:06 +00:00
Matthew Flatt
9b6ccb1476
fix name collision with Linux+mred+futures
...
svn: r18399
2010-02-28 22:43:41 +00:00
Matthew Flatt
8f8a8b18b1
fix configure typo
...
svn: r18397
2010-02-28 22:14:04 +00:00
Matthew Flatt
e71bd71035
enable futures by default on Mac OS X and Linux x86/x86_64; future docs to ref and guide
...
svn: r18396
2010-02-28 22:06:59 +00:00
Matthew Flatt
2e0e4b8b95
enable parallel futures under Windows (enabled by default)
...
svn: r18395
2010-02-28 17:12:02 +00:00
Eli Barzilay
508b2ca269
Welcome to a new PLT day.
...
svn: r18377
2010-02-27 08:50:29 +00:00
Matthew Flatt
831dcc0c2c
fix problem visiting available modules; improve backtrace in JIT mode to include module visits; fix use-before-def error to show correct phase (when it's not 0)
...
svn: r18375
2010-02-27 03:22:33 +00:00
Matthew Flatt
51b33d2149
fix problem with dynamic-require (PR 10785)
...
svn: r18369
2010-02-26 22:52:08 +00:00
Eli Barzilay
a8ac086430
libffi moved: gcc -> github
...
svn: r18355
2010-02-26 19:42:24 +00:00
Matthew Flatt
02583a1a08
ad hoc car/cdr optimizations
...
svn: r18354
2010-02-26 19:14:56 +00:00
Stevie Strickland
e30e8bba10
Bumping the version number due to changes in the primitive class interface.
...
svn: r18353
2010-02-26 19:01:59 +00:00
Sam Tobin-Hochstadt
6dee10e090
handle datarootdir to avoid warnings
...
svn: r18350
2010-02-26 14:47:39 +00:00
Sam Tobin-Hochstadt
7accc0bd7d
Need to unwrap objects at two other points:
...
* When the C++ code uses direct access on objects (look for check_valid)
* In the functions returned by class-field-accessor/mutator
svn: r18344
2010-02-25 23:42:13 +00:00
Stevie Strickland
1f10c4e422
Have external field accessors/mutators just redirect to the old object
...
themselves. Also, have all objects carry the prop:unwrap property.
svn: r18330
2010-02-24 23:32:44 +00:00
Stevie Strickland
af0387e3a6
Fuck you, C, and the flea-bitten, mange-covered, syphilis-ridden horse you
...
rode in on.
svn: r18318
2010-02-24 16:35:30 +00:00
Stevie Strickland
60b6c81f9f
Okay, updates to all this crapola. Going to try and see what happens if I
...
only attach prop:unwrap to wrapped objects.
svn: r18313
2010-02-23 23:56:08 +00:00
Stevie Strickland
7e6b4757fa
Forgot to check this
...
svn: r18312
2010-02-23 22:40:07 +00:00
Stevie Strickland
e1cd160a40
Now that the C code is back at a compile-ready point, I'll check in.
...
svn: r18306
2010-02-23 20:57:22 +00:00
Stevie Strickland
5e07c2e340
Clean up the prop build a bit, and if there's no unwrapper, just return the
...
object (since this works like an identity anyway if it's not a wrapped object).
svn: r18301
2010-02-23 15:47:18 +00:00
Stevie Strickland
aa7062a35e
Fix up kernel.ss to include unwrapper, also fix arity check now that it takes
...
one more.
svn: r18300
2010-02-23 15:01:04 +00:00
Stevie Strickland
6583b0b77c
My first foray into the C side of things.
...
svn: r18299
2010-02-23 14:55:24 +00:00
Matthew Flatt
a7b5d0d8f1
add objscheme_unwrap() hook for contract system to interact with primitive MrEd classes
...
svn: r18297
2010-02-23 13:53:55 +00:00
Eli Barzilay
3ec0cb2731
Welcome to a new PLT day.
...
svn: r18146
2010-02-18 08:50:32 +00:00
Matthew Flatt
23ad685d67
bump version
...
svn: r18132
2010-02-17 21:44:22 +00:00
Jay McCarthy
a8d00cc3b3
Added new primitive: symbol-unreadable?
...
Updated Scheme implementation of zo parsing and marshaling
- Separated the structs into a different file and added contracts
- Implemented stxobj marshalling
- Fixed many small bugs in parser and marshaller
- Added new structs for new parser cases
Done by Blake Johnson (BYU)
Committed by Jay
svn: r18130
2010-02-17 21:33:00 +00:00
Kevin Tew
377d9be7ee
fix compile error on places
...
svn: r18129
2010-02-17 21:26:38 +00:00
Matthew Flatt
008e7b3121
under linux, run write-barrier signal handler on alternate stack
...
svn: r18124
2010-02-17 20:43:34 +00:00
Kevin Tew
81d38e6acb
places gc testing support code
...
svn: r18122
2010-02-17 20:35:46 +00:00
Matthew Flatt
91d725fbb9
add optional initialization argument to make-hash (and variants)
...
svn: r18120
2010-02-17 17:44:29 +00:00
Matthew Flatt
ea90a07c86
chage some quadratic-time parts of internal-defn expansion to linear
...
svn: r18109
2010-02-17 14:12:07 +00:00
Kevin Tew
7990337c1e
Places gc fix
...
svn: r18100
2010-02-16 18:47:04 +00:00
Matthew Flatt
6f0d6b28de
some mz and ffi changes from the mr2 branch
...
svn: r18099
2010-02-16 17:55:28 +00:00
Kevin Tew
a8fc2d55b3
Add convenient wrappers to scheme_extract_one_cc_mark_with_meta
...
svn: r18098
2010-02-16 16:46:25 +00:00
Kevin Tew
b865bb7868
gcc 4.4.1 compiler warning fix
...
svn: r18090
2010-02-15 20:31:24 +00:00
Kevin Tew
df51f39987
Wrap dynamic-require of place module with top_level_do
...
svn: r18089
2010-02-15 20:23:47 +00:00
Matthew Flatt
81dbd0a967
finish removing obsolete namespace-option support
...
svn: r18083
2010-02-14 14:30:45 +00:00
Matthew Flatt
d12e3e8c4f
better solution for rev 18046
...
svn: r18072
2010-02-12 19:16:00 +00:00
Matthew Flatt
f94b9f4377
avoid a stack overflow with deeply call-in-nested threads
...
svn: r18046
2010-02-11 04:29:28 +00:00
Matthew Flatt
38a0f6d89a
fix the actual result value for unboxed flmin and flmax
...
svn: r18045
2010-02-11 04:00:18 +00:00
Matthew Flatt
bdae105baf
fix JIT flmin and flmax fp-stack handling when result is used in unboxed position
...
svn: r18044
2010-02-11 03:49:38 +00:00
Matthew Flatt
0a13958284
fix for Sparc Linux from James Vega (PR 10750)
...
svn: r18031
2010-02-09 16:16:47 +00:00
Matthew Flatt
13b5f7e095
fix recently introduced optimizer bug (affected the kanren test)
...
svn: r18016
2010-02-08 17:51:00 +00:00
Kevin Tew
ce7c7eac7b
Removed unused parameters to grab_continuation
...
svn: r17996
2010-02-05 17:28:00 +00:00
Kevin Tew
ccbe173d08
Places GC fixes
...
svn: r17995
2010-02-05 17:06:13 +00:00
Kevin Tew
46b61873aa
Move lazy global initialization to init_fun
...
svn: r17994
2010-02-05 17:06:05 +00:00
Eli Barzilay
c88a5a6856
A bunch of additional typos
...
svn: r17976
2010-02-05 03:21:52 +00:00
Matthew Flatt
3812f8ca72
improve inling to support ((let (....) (lambda ....)) arg ...) patterns; allow nested 'let's for local flonum binding (which fixes a problem where unsafe flonum operations could end up much slower than safe ones)
...
svn: r17972
2010-02-05 00:16:06 +00:00
Matthew Flatt
0a6f85a49c
fix JIT bug related to capturing flonum locals
...
svn: r17968
2010-02-04 18:11:32 +00:00
Matthew Flatt
a27dcaa3ac
use fpsetmask for freebsd
...
svn: r17966
2010-02-04 12:44:58 +00:00
Matthew Flatt
8dc290d077
change future-thread count to 16
...
svn: r17941
2010-02-02 17:19:47 +00:00
Eli Barzilay
99bebecd75
Welcome to a new PLT day.
...
svn: r17919
2010-02-01 08:50:38 +00:00
Matthew Flatt
5433c57504
wrap each top-level form in a module with a prompt
...
svn: r17917
2010-01-31 17:04:55 +00:00
Matthew Flatt
de98d4fd79
fix bug related to CGC, 'flvector-set', a bad first or second argument, and an unboxable third argument
...
svn: r17916
2010-01-31 16:50:36 +00:00
Matthew Flatt
fe532b712c
update list of supported platforms
...
svn: r17887
2010-01-29 20:08:17 +00:00
Kevin Tew
d634beb1eb
Fix double initialization of paramz key
...
svn: r17883
2010-01-29 14:21:25 +00:00
Matthew Flatt
ea87c95d95
adjust futures impl to use mzrt; fix MrEd build to work with futures
...
svn: r17879
2010-01-29 00:15:43 +00:00
Matthew Flatt
43bf186d53
byte zo reader to allow syntax objects within literal hash tables
...
svn: r17867
2010-01-28 18:49:08 +00:00
Matthew Flatt
a09e671f34
allow radio-box% to have no selected buttons
...
svn: r17865
2010-01-28 17:51:30 +00:00
Matthew Flatt
2c192f5297
support inlining of procedures with rest args
...
svn: r17860
2010-01-28 01:31:37 +00:00
Matthew Flatt
8733e7f233
fix JIT bug related to locally bound flonums; merge to 4.2.4
...
svn: r17857
2010-01-27 23:22:23 +00:00
Kevin Tew
3d3038baec
gc debugging fix
...
svn: r17845
2010-01-26 22:04:24 +00:00
Kevin Tew
7114cdf51e
Inital places documentation
...
svn: r17818
2010-01-25 16:11:34 +00:00
Kevin Tew
5f8c18a7ef
places exit handler
...
svn: r17817
2010-01-25 16:11:22 +00:00
Matthew Flatt
4ce8dfa7da
fix problems with having a struct implement both prop:evt and prop:procedure; merge to 4.2.4
...
svn: r17802
2010-01-24 15:30:16 +00:00
Matthew Flatt
bfa543bd11
fix problem initializing tail buffer; fix JIT checking of unsafe-f{l,64}vector-ref unboxing; fix error message for unbound variables (merge to 4.2.4)
...
svn: r17788
2010-01-23 22:37:07 +00:00
Kevin Tew
a6c1b9256e
Places added place local module path table for uninterned symbols
...
svn: r17774
2010-01-22 23:32:32 +00:00
Kevin Tew
e0fff18e68
don't use stdout for cstartup generation
...
svn: r17772
2010-01-22 21:17:21 +00:00
Eli Barzilay
a86337375d
Welcome to a new PLT day.
...
svn: r17746
2010-01-19 08:50:22 +00:00
Matthew Flatt
a6231d88e9
fix (#%variable-reference) in let-syntax RHS (PR 10696)
...
svn: r17745
2010-01-19 08:00:50 +00:00
Eli Barzilay
b1abbab3ff
update version numbers for the v4.2.4 release
...
svn: r17711
2010-01-18 06:08:24 +00:00
Matthew Flatt
f2e60c97a7
drop native stack traces from continuations; they're expensive to compute, not actually used, and could be computed on demand
...
svn: r17667
2010-01-15 20:57:52 +00:00
Matthew Flatt
5f3b90943b
JIT fast path for setting global/module variable; repair fix for PR 10693
...
svn: r17663
2010-01-15 14:02:57 +00:00
Matthew Flatt
e90853cccd
rewind part of inlining algorithm that could help somewhat with higher-order functions that contain internal loops, but it can also make other code much worse
...
svn: r17656
2010-01-14 21:20:49 +00:00
Kevin Tew
24d2dbf65e
fix GC medium objects allocation size accounting
...
svn: r17655
2010-01-14 20:18:43 +00:00
Matthew Flatt
857c3bbb17
fix GC double counting of big gen0 pages
...
svn: r17651
2010-01-14 18:09:41 +00:00
Kevin Tew
485900bfa6
global tagging
...
svn: r17648
2010-01-14 17:32:06 +00:00
Matthew Flatt
3572f7bc18
fix problem in bytecode printer
...
svn: r17641
2010-01-13 23:31:34 +00:00
Kevin Tew
08fa44801c
Places Async Channels
...
svn: r17637
2010-01-13 19:16:54 +00:00
Kevin Tew
e4fdd172a7
remove old gc cruft
...
svn: r17634
2010-01-13 17:08:20 +00:00
Matthew Flatt
fbe29fa7e2
fix declaration not at block start
...
svn: r17629
2010-01-13 13:50:40 +00:00
Kevin Tew
4977211ee7
Move kernel to master
...
svn: r17623
2010-01-12 23:53:01 +00:00
Matthew Flatt
331c6d2f5f
fix bignum expt (PR 10690); also fixed a doc typo
...
svn: r17614
2010-01-12 02:16:12 +00:00
Eli Barzilay
7d27dafa77
Welcome to a new PLT day.
...
svn: r17592
2010-01-10 08:50:38 +00:00
Matthew Flatt
58e6d2426a
fix bug introduced into module-compiled-exports
...
svn: r17589
2010-01-09 14:48:51 +00:00
Matthew Flatt
349c15d478
replae module->compiled-module-expression with module->imports and module->exports
...
svn: r17588
2010-01-09 14:42:18 +00:00
Eli Barzilay
eb8a60a235
Welcome to a new PLT day.
...
svn: r17587
2010-01-09 08:50:42 +00:00
Kevin Tew
0dc9ae031c
atomic increase of max_symbol_length, locking for jit freelist, globals tagging
...
svn: r17584
2010-01-08 23:05:33 +00:00
Matthew Flatt
b63c4bb8d0
fix (tcp-listen 0) for IPv6
...
svn: r17578
2010-01-08 20:41:43 +00:00
Matthew Flatt
d665fd5b23
fix 'time' CPU-time wraparound under Windows
...
svn: r17577
2010-01-08 20:07:59 +00:00
Matthew Flatt
4fedeeaf7a
add module->compiled-module-expression, which is used in Scribble's traversal of module paths to find documented bindings
...
svn: r17576
2010-01-08 19:53:04 +00:00
Matthew Flatt
425d3d6145
fix shared-library version for CGC lib
...
svn: r17564
2010-01-08 13:45:57 +00:00
Kevin Tew
8d774adef7
global tagging
...
svn: r17561
2010-01-08 04:36:46 +00:00
Matthew Flatt
530238a12b
fix libunwind problem (seocnd attempt)
...
svn: r17558
2010-01-07 23:18:26 +00:00
Matthew Flatt
42172e4fda
fixes for places
...
svn: r17557
2010-01-07 22:43:29 +00:00
Kevin Tew
dc9f3227c5
global tagging
...
svn: r17535
2010-01-07 17:50:21 +00:00
Matthew Flatt
f7f6b972fd
fix problem with flmin/flmax and cgc
...
svn: r17532
2010-01-07 16:33:26 +00:00
Eli Barzilay
ecb1f6525d
Welcome to a new PLT day.
...
svn: r17528
2010-01-07 08:50:36 +00:00
Matthew Flatt
41261c6047
fill out fl and fx operations; repair fixnum-overflow bug in quotient
...
svn: r17524
2010-01-07 03:30:33 +00:00
Kevin Tew
aeb3523346
GLOBAL_FOLDING_PRIM cleanup char.c
...
svn: r17521
2010-01-06 23:25:09 +00:00
Kevin Tew
a7b8ff1313
global tagging
...
svn: r17518
2010-01-06 22:48:27 +00:00
Kevin Tew
8c9019aeee
num_limits initialization fix
...
svn: r17515
2010-01-06 22:13:48 +00:00
Matthew Flatt
0f9eda49c1
disable unwind cache for now
...
svn: r17514
2010-01-06 21:55:18 +00:00
Matthew Flatt
3006abec4b
enable libunwind caching to avoid potential memory leak
...
svn: r17494
2010-01-06 16:28:22 +00:00
Kevin Tew
2d92b5aa91
remove unneeded global variable mtrace_cmark_key
...
svn: r17490
2010-01-06 05:11:15 +00:00
Kevin Tew
f12bda77c9
global variable tagging
...
svn: r17489
2010-01-06 04:49:03 +00:00
Kevin Tew
d08684c9b8
remove static check_counter from print
...
svn: r17488
2010-01-05 23:59:46 +00:00
Matthew Flatt
485858fa72
fix bytecode validator to reject symbolic requires in modules
...
svn: r17487
2010-01-05 22:35:20 +00:00
Matthew Flatt
6151119d5e
JIT tweak for flonum comparisons; better bytecode-compiler transformations for expressions used as branch tests
...
svn: r17486
2010-01-05 20:24:59 +00:00
Kevin Tew
620a4d6dd6
CIL Tagging
...
svn: r17485
2010-01-05 15:59:12 +00:00
Matthew Flatt
3902824d88
adjust inlining algorithm again; better JIT compilation of nested branches; better JIT handling of literal floating-point numbers
...
svn: r17484
2010-01-05 15:13:03 +00:00