Björn Lindqvist
39d0177ddd
bootstrap.image.primitives: attempt 2 at putting all primitives in this vocab
...
See ca82929ffb
. This time it should work
because the USING: list is not updated!
2016-03-31 03:32:34 +02:00
John Benediktsson
ca82929ffb
Revert "bootstrap.image.primitives: make more primitives properties be declared here"
...
This reverts commit 80f30119c0
.
2016-03-30 11:53:38 -07:00
Björn Lindqvist
80f30119c0
bootstrap.image.primitives: make more primitives properties be declared here
...
This commit merges the input/output-classes and flush/foldable
declarations from stack-checker.known-words to this vocab. This should
make adding primitives a little simpler (#1134 ).
2016-03-30 18:59:10 +02:00
Björn Lindqvist
2a9c95040c
bootstrap.image.primitives: the primitive_ prefix is implied
...
So it can be removed from the big list, making primitive declarations simpler.
2016-03-29 23:52:29 +02:00
Björn Lindqvist
eca6dfac15
bootstrap.image.primitives: new vocab to make primitive declarations better
2016-03-29 23:52:29 +02:00
Björn Lindqvist
f549283508
bootstrap.assembler.ppc: make ppc also use define-sub-primitives
2016-03-27 17:46:55 +02:00
Björn Lindqvist
df3852f54a
bootstrap.assembler: new word define-sub-primitives
...
This way all sub primitives can be declared at once which imo is cleaner.
2016-03-27 17:42:25 +02:00
Doug Coleman
92afdc3ad0
hashtables: rename ((tombstone)) to +tombstone+, ((empty)) to +empty+
2016-03-25 03:13:27 -07:00
John Benediktsson
baae677276
io.files.unique: change to create unique files and directories relative to the current-directory.
2016-03-18 10:57:54 -07:00
John Benediktsson
5f682c18de
use the new bytes>hex-string.
2016-03-16 10:13:56 -07:00
Björn Lindqvist
b0a201165a
bootstrap.image: docs
2016-03-01 17:32:43 +01:00
Björn Lindqvist
cbba6bbf95
bootstrap.image.tests: I screwed up the test case values -- fix them
2015-12-14 13:56:35 +01:00
Björn Lindqvist
1378841c95
bootstrap.image.tests: new tests & fix for 32bit test failure
2015-12-14 06:54:12 +01:00
Björn Lindqvist
1a72f731e0
VM: now special-objects is used for -1, 0, 1 and t
...
The fields in the image_header aren't read or written to but I haven't
changed the format yet.
2015-12-10 10:22:38 +01:00
Björn Lindqvist
339b1b6466
VM: put the singletons t, -1, 0 and 1 in the special objects table
...
Having them there instead of as fields in the vm struct removes a bunch
of special handling. This commit just adds them and doesn't remove the
old ones to avoid potential chicken-and-egg bootstrap problems.
2015-12-09 21:31:13 +01:00
Björn Lindqvist
bf8fe25271
bootstrap.*: fix for #1512 , load docs after everything else
...
By making it so the help component is loaded almost last, all vocabs are loaded without docs and only then are they loaded. It should make it so you don't get cyclic dependency problems in doc files during bootstrapping.
2015-12-04 13:29:29 +01:00
Björn Lindqvist
fc9eb0d5ac
bootstrap.stage2: more logging output and fix for #1444
...
The error clearing needs to happen almost last so that an error is not
set in the image.
2015-12-04 13:16:21 +01:00
John Benediktsson
e477f6996f
Fix comments to be ! not #!.
2015-09-08 16:15:10 -07:00
Björn Lindqvist
721048bbb9
bootstrap.image.tests: total 20 -> 18
2015-09-03 13:18:26 +02:00
Björn Lindqvist
de4917e6a1
VM: give the exception handling special object a real name
2015-09-02 21:54:33 +02:00
Björn Lindqvist
22887c5816
VM: get rid of the odd RT_EXCEPTION_HANDLER relocation
...
The address to the win32 relocation handler can be stored in a special
object and be accessed by jit-install-seh. Doing it that way is better
because you can remove a lot of special code related to that relocation
type.
2015-09-02 21:54:30 +02:00
Björn Lindqvist
cee0b19324
VM: the ffi-signal-handler and ffi-leaf-signal-handler primitives are unused
2015-09-02 21:54:15 +02:00
Björn Lindqvist
663e5e2a09
VM: fix jit-signal-handler-prolog/epilog to account for the home space
...
Windows 64bit abi requires callers to reserve 32 bytes of home space in
the stack frame which the callee is free to clobber. Previous versions
of VS didn't compile code to take advantage of the home space so it
worked fined. VS2015 however, is using the home space which causes
registers and flags that were supposed to be saved to be
overwritten. The fix is to put a little extra empty space at the bottom
of the stack frame.
2015-08-26 20:23:25 +02:00
Björn Lindqvist
10464e7e4e
VM: LEAF_FRAME_SIZE is 16 bytes on all platforms so we can simplify it
2015-08-26 20:23:15 +02:00
Doug Coleman
886935f5d7
bootstrap.image: rename ' to prepare-object. it doesn't actually output the object, unlike what the comment said.
2015-08-15 21:21:03 -07:00
Björn Lindqvist
9413f711b9
VM: the JIT_PROFILING special object is never used, so rename it to
...
JIT_UNUSED (removing it breaks boot images)
2015-08-14 20:19:53 -07:00
Björn Lindqvist
dbb045e2cd
bootstrap.image: better to use the special-object-count constant from kernel.private
2015-08-14 20:19:53 -07:00
Björn Lindqvist
8c70f04d41
bootstrap.image: bs-special-objects -> special-objects,
...
bootstrap.image.syntax vocab not needed anymore
2015-08-14 20:19:53 -07:00
Björn Lindqvist
2b3989f3c9
bootstrap.assembler.*: convert the other assembly files to the new
...
jit-define system
2015-08-14 20:19:52 -07:00
Björn Lindqvist
9cf36e3dc2
bootstrap.image: attempt to remove the SPECIAL-OBJECT: table
...
Instead of using newly defined words as keys to the special-objects
hash being built, you can reuse the constants in kernel.private
2015-08-14 20:19:52 -07:00
John Benediktsson
0216f9f6d1
namespaces: rename namestack* to (get-namestack) for consistency.
2015-08-13 17:53:07 -07:00
John Benediktsson
ceb75057da
change ERROR: words from throw-foo back to foo.
2015-08-13 16:13:05 -07:00
Doug Coleman
b6be8685c3
basis: ERROR: changes.
2015-08-13 03:20:39 -07:00
Doug Coleman
02008979d9
factor: Change ERROR: foo ; to define ``throw-foo`` instead of having ``foo`` throw implicitly. The old ``foo`` still throws implicitly because this is a big change to get right in one patch, but it should be removed soon.
2015-08-12 15:26:18 -05:00
Doug Coleman
46587f8457
factor: arch -> arch-name. fix breakage caused by other patch.
2015-08-12 11:08:24 -05:00
Doug Coleman
351f51b72e
bootstrap.image: images -> image-strings
2015-08-12 08:42:58 -05:00
Doug Coleman
00338f62f3
factor: put inline on same line as ; for experimentation
2015-08-10 12:55:27 -05:00
Doug Coleman
43fb73fae6
factor: Rename I[ ]I to [I I]. Fix places where we do "string"token without whitespace.
2015-08-06 17:05:12 -05:00
Doug Coleman
1ca3a0cd0b
bootstrap.image.upload: Use git id instead of build number.
2015-08-04 16:28:41 -07:00
Doug Coleman
f5853c7e31
bootstrap.image.upload: Upload build images as well for posterity.
2015-08-04 15:05:38 -07:00
Björn Lindqvist
5e29aac0a6
Docs: various more compiler-related docs
2015-07-28 17:58:28 -07:00
John Benediktsson
ca0f80f230
bootstrap: cleanup usings.
2015-07-26 21:20:55 -07:00
Doug Coleman
80601662a3
bootstrap.image: rename image -> bootstrapping-image
2015-07-20 01:26:44 -07:00
Doug Coleman
618330b31e
factor: rename system:vm -> vm-path to differentiate it from vm:vm (which is a STRUCT:)
2015-07-20 00:10:29 -07:00
John Benediktsson
5825099745
bootstrap.image: minor cleanup.
2015-07-16 11:09:17 -07:00
John Benediktsson
dc9a501040
bootstrap.image.upload: use with-resource-directory.
2015-07-16 10:39:33 -07:00
John Benediktsson
4c2c8f133f
vm: rename some primitives, and some cleanup.
...
* quot-compiled? => quotation-compiled?
* optimized? => word-optimized?
2015-07-15 11:13:52 -07:00
Doug Coleman
892c62e1dc
factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test
2015-07-03 09:39:59 -07:00
Doug Coleman
59f3b1ea57
Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
...
Needs a bit more work.
This reverts commit 7e54cc2824
.
2015-07-02 13:47:06 -07:00
Doug Coleman
7e54cc2824
factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!
2015-07-02 11:36:08 -07:00