Slava Pestov
|
e4da687413
|
vm: Tweak Factor VM to compile with Microsoft Visual Studio on Windows, in addition to Mingw. Add an Nmakefile which can be used for this purpose. Rename Makefile to GNUmakefile.
|
2010-01-17 03:43:22 +13:00 |
Slava Pestov
|
63edd20a55
|
vm: eliminating register variables work in progress. Works on x86-32 with non-optimizing compiler
|
2009-12-19 10:59:56 +13:00 |
Doug Coleman
|
987602235e
|
remove sleep_micros, add sleeo_nanos to vm
|
2009-11-19 04:49:29 -06:00 |
Doug Coleman
|
6f7ec206a1
|
rename millis to system-millis, micros to system-micros, add nano-count
|
2009-11-18 15:58:48 -06:00 |
Doug Coleman
|
b4206f5252
|
initial commit to nanos branch to replace micros
|
2009-11-18 04:20:05 -06:00 |
Slava Pestov
|
3d5c3935ad
|
vm: fix compilation
|
2009-10-22 06:38:02 -04:00 |
Slava Pestov
|
f24942e063
|
vm: clean up signal handling and add EXC_BAD_INSTRUCTION Mach exception handler for OS X, since signal handlers cannot change the stack pointer
|
2009-10-22 05:22:59 -05:00 |
Slava Pestov
|
236588208b
|
vm: rename F to false_object, and rename T to true_object
|
2009-10-18 20:26:21 -05:00 |
Slava Pestov
|
c04412219b
|
vm: allocate stacks and data heap segments without execute permissions
|
2009-10-16 05:16:12 -05:00 |
Slava Pestov
|
349cb41a29
|
Merge branch 'reentrantvm' of git://github.com/phildawes/factor
|
2009-10-16 03:52:35 -05:00 |
Phil Dawes
|
7fef05fd76
|
Removed VM_PTR macros. All builds reentrant by default
|
2009-10-14 19:14:57 +01:00 |
Slava Pestov
|
0bf31e42e6
|
vm: refactoring card logic a bit
|
2009-10-09 11:16:18 -05:00 |
Slava Pestov
|
5c774d8c84
|
vm: more code cleanups
|
2009-10-07 08:33:54 -05:00 |
Slava Pestov
|
96df486753
|
vm: add assertions to tls_vm()
|
2009-10-02 09:37:04 -05:00 |
Phil Dawes
|
ded33eda87
|
removed some superflous newlines
|
2009-10-01 07:33:16 +01:00 |
Phil Dawes
|
9b7412b8f8
|
Moved PRIMITIVE and PRIMITIVE_FORWARDs to primitives.[ch]pp
|
2009-09-27 19:42:18 +01:00 |
Slava Pestov
|
f81c8549f4
|
Make segment, context, data_heap, zone more object-oriented, and fix crash when calling undefined symbols
|
2009-09-25 21:17:20 -05:00 |
Slava Pestov
|
d017a53227
|
Merge branch 'vm_cleanup' of git://github.com/phildawes/factor
|
2009-09-25 19:04:19 -05:00 |
Slava Pestov
|
602776c885
|
vm: clean up os-unix.cpp
|
2009-09-25 18:08:00 -05:00 |
Phil Dawes
|
6b7717bf37
|
forwarding functions replaced with PRIMITIVE_FORWARD() macro
|
2009-09-25 20:43:01 +01:00 |
Phil Dawes
|
83b0769eef
|
renamed factorvm to factor_vm
|
2009-09-24 08:16:52 +01:00 |
Phil Dawes
|
e566656e46
|
removed a bunch of superflous blank lines
|
2009-09-24 08:02:14 +01:00 |
Phil Dawes
|
e3ac531fdb
|
renamed vmprim_ to primitive_
|
2009-09-24 08:02:13 +01:00 |
Phil Dawes
|
2cf2dab48e
|
fpe signals working on unix again
|
2009-09-16 08:22:18 +01:00 |
Phil Dawes
|
b02944c6d5
|
moved signal handlers into vm object
|
2009-09-16 08:22:16 +01:00 |
Phil Dawes
|
f4af39b60e
|
thread_id is a pthread_t on unix
|
2009-09-16 08:20:51 +01:00 |
Phil Dawes
|
3345922330
|
quick test vocab for mt stuff
|
2009-09-16 08:20:50 +01:00 |
Phil Dawes
|
fa6d8d239b
|
removed vm singleton usage from unix stuff
|
2009-09-16 08:20:49 +01:00 |
Phil Dawes
|
3c139593c5
|
moved the thread stuff around a bit
|
2009-09-16 08:20:49 +01:00 |
Phil Dawes
|
1456fb3c97
|
removed vm ptrs from unix code (still in signal handlers tho)
|
2009-09-16 08:20:10 +01:00 |
Phil Dawes
|
784b8d16ae
|
moved utility functions and fatal_error out of vm struct since doesn't need state
|
2009-09-16 08:20:10 +01:00 |
Phil Dawes
|
6ddd3c654e
|
fixed up linux64 bootstrap (single threaded)
|
2009-09-16 08:20:09 +01:00 |
Phil Dawes
|
9cac5e8aa9
|
added lookup_vm and removed last usage of vm from windows code
|
2009-09-16 08:20:09 +01:00 |
Phil Dawes
|
20ef4200fb
|
removed some error vm-> functions
|
2009-09-16 08:17:27 +01:00 |
Phil Dawes
|
700e03a6a6
|
removed some vm-> forwarding functions
|
2009-09-16 08:17:26 +01:00 |
Phil Dawes
|
2f3cd4d23d
|
removed some vm-> pointers
|
2009-09-16 08:17:26 +01:00 |
Phil Dawes
|
fa2dccd6d3
|
vm passed in box_alien and alien_offset (win32)
|
2009-09-16 08:16:33 +01:00 |
Joe Groff
|
fb43ae2daf
|
save the FP status out of the signal context and use it as part of the fp trap factor exception. clear the FP status before continuing after an exception
|
2009-09-13 23:39:12 -05:00 |
Joe Groff
|
7ba71a524e
|
Send FP trap signals to Factor as a different vm-error type
|
2009-09-06 08:44:25 -05:00 |
Philipp Brüschweiler
|
230061783a
|
misc small documentation fixes, some fixes for factor.vim, changed permissions of vm/* to 644
|
2009-08-10 21:33:07 +02:00 |
Slava Pestov
|
53db9d737a
|
Change (void) to ()
|
2009-05-05 11:33:35 -05:00 |
Slava Pestov
|
8872c40b1e
|
The great type renaming
|
2009-05-04 04:50:24 -05:00 |
Slava Pestov
|
edecac508e
|
Use C++ namespaces
|
2009-05-04 01:46:13 -05:00 |
Slava Pestov
|
8e17e0a01e
|
VM: use better abstractions for tagged pointers, eliminate get()/set() stuff, clean up array, string, and byte-array element access
|
2009-05-04 01:00:30 -05:00 |
Slava Pestov
|
e3592ca8f6
|
Clean up untag_* and tag_* inline functions in favor of more idiomatic C++
|
2009-05-02 20:47:29 -05:00 |
Slava Pestov
|
b923d548cf
|
Move vmpp to vm
|
2009-05-02 20:37:18 -05:00 |