Commit Graph

29246 Commits (349f99661dc9355b5f88e4dfa33a154e7ed6a97b)

Author SHA1 Message Date
Björn Lindqvist 349f99661d compiler.*: Remove the scrubbing part of the GC maps
Instead of generating GC maps which describe which stack locations that
are uninitialized, we emit ##clear instructions for those locations in
front of ##call-gc instructions. This makes the context root scanning
much simpler because the GC can assume that all stack slots are
initialized. It also removes the compiler.cfg.stacks.vacant pass and
seem to reduce the image size slightly because many fewer GC maps needs
to be emitted.
2016-09-11 20:34:44 +02:00
Björn Lindqvist bc8525eb02 VM: the small return_address_index function can be implemented in the header 2016-09-10 03:18:18 +02:00
Björn Lindqvist faaa898975 compiler.codegen.*: removing the init-gc-maps word 2016-09-09 18:57:57 +02:00
Björn Lindqvist 2f71e91dce compiler.cfg.stacks.*: rename trace-stack-state2 -> trace-stack-state 2016-09-09 08:06:02 +02:00
Alexander Iljin 0d57734dab vm: replace block comments /**/ with line comments // 2016-09-09 05:47:52 +02:00
Alexander Iljin e0acf4f328 Revert "vm: replace line comments // with block comments /**/ for consintency"
This reverts commit 7ee4e5dea5.
2016-09-09 05:47:52 +02:00
Alexander Iljin 897d0d6eeb Revert "vm: fix typo from c++ comment patch causing compile failure."
This reverts commit 4e48e836b9.
2016-09-09 05:47:52 +02:00
Björn Lindqvist 9decb6a91e compiler.cfg.*: better way to store the block height
It is stored as a height-state instance on the height slot of the
basic-block. It will make better analysis possible because you see how
much the height increased or decreased in the block.
2016-09-08 04:01:25 +02:00
Björn Lindqvist 670d2c344e compiler.cfg.stacks.*: new word local-loc>global, replacing untranslate-loc 2016-09-08 04:01:25 +02:00
Björn Lindqvist 6f06b51443 compiler.cfg.stacks.local: simplified code for getting kill locations 2016-09-08 04:01:25 +02:00
Björn Lindqvist c640e3b8c1 compiler.cfg.*: changing height-state from a 2-el array to a tuple
This way, it is a little easier to see what is going on in the local
analysis phase.
2016-09-08 04:01:25 +02:00
John Benediktsson 11ec120c2d metar: some fixes for TAF parsing. 2016-09-07 16:04:59 -07:00
John Benediktsson 98be09e8ea metar: whoops, fix taf url. 2016-09-06 18:13:59 -07:00
John Benediktsson 4ab9ef90c3 metar: switching urls from weather.noaa.gov to tgftp.nws.noaa.gov. 2016-09-06 18:11:28 -07:00
Björn Lindqvist 2edda80b5e compiler.cfg.*: removing the adjust-d word
inc-stack can be used in emit-call-block if we check if the block is a
kill block in end-local-analysis
2016-09-05 12:12:01 +02:00
Björn Lindqvist ee5c28f470 compiler.cfg.stacks.*: removing the adjust word which wasn't useful 2016-09-05 10:37:29 +02:00
Björn Lindqvist bff165c85c ui.*: more tests 2016-09-05 07:47:39 +02:00
Björn Lindqvist 20711a0fd3 Adding escaping to CHAR: " -> CHAR: \"
It is not necessary to escape the " character, but it doesn't hurt and
is necessary for syntax-highlighting (FUEL) to work correctly.
2016-09-04 06:40:43 +02:00
Björn Lindqvist a36ac6e435 compiler.tree: these constructor words aren't needed 2016-09-04 06:23:50 +02:00
Björn Lindqvist 367bff6339 compiler.cfg.builder: simplification of the shuffling logic 2016-09-04 06:22:54 +02:00
Björn Lindqvist 61bbb9be06 tools.image-analyzer.*: new word for removing the tag bits 2016-09-02 07:51:42 +02:00
Björn Lindqvist af7e4903a2 compiler.cfg.debugger: print -> write to not add stray newlines 2016-09-01 09:59:15 +02:00
Björn Lindqvist 6a7033fccb bootstrap.image.primitives,tools.profiler.sampling: fixing stack effect 2016-09-01 09:00:01 +02:00
Björn Lindqvist 916bb1678a stack-checker.*: doc updates 2016-09-01 02:24:54 +02:00
Björn Lindqvist 26d53f9019 compiler.cfg.*: compiler doc updates 2016-09-01 02:16:30 +02:00
Björn Lindqvist f7542e95a9 compiler.cfg.stacks.finalize: only insert blocks if they aren't empty
Previously, a lot of empty blocks were added too.
2016-09-01 01:54:11 +02:00
Björn Lindqvist c26379ea7e compiler.cfg.debugger: better code for outputting using the formatting vocab 2016-08-30 04:04:21 +02:00
Björn Lindqvist b82ea14af0 sets,compiler.cfg.stacks.global: putting the refine word in sets 2016-08-30 02:34:37 +02:00
Björn Lindqvist 6c88577ee7 compiler.cfg.*: replacing the peek/replace/kill-sets with slots
So instead of storing the info in variables, it is stored in slots on
the basic-block tuple which is much nicer.
2016-08-29 12:07:47 +02:00
Björn Lindqvist e8e1811542 compiler.cfg.stacks.height: removing vocab
It was so small so better to put the words it contained in the vocabs
where they are used.
2016-08-26 11:06:17 +02:00
Björn Lindqvist ebdf57d175 db.sqlite: fix the delete constraint for the restrict case 2016-08-25 13:52:44 +02:00
Björn Lindqvist 66083e263c db.sqlite: fix text of generated triggers
An opening brace was missing for some variables
2016-08-25 13:10:42 +02:00
Björn Lindqvist 0e937e8464 FUEL: highlighting and indentation of more syntax elements 2016-08-25 11:54:28 +02:00
Björn Lindqvist c0b06c29b9 FUEL: improves the fuel-update-usings feature
Now it works even when the USING: list should be empty.
2016-08-25 11:52:35 +02:00
Björn Lindqvist dc3fa20bf6 ui.render.tests: removing bad test 2016-08-24 16:44:35 +02:00
Björn Lindqvist 36966c1a7d x11.*: auto string to alien conversion for XOpenDisplay 2016-08-24 05:32:44 +02:00
John Benediktsson acb4dec55d Revert "io.pathnames: fix separator when appending paths in Windows"
This reverts commit b477c43293.
2016-08-23 09:54:16 -07:00
masweeney b477c43293 io.pathnames: fix separator when appending paths in Windows 2016-08-23 08:53:38 -07:00
Björn Lindqvist a5c0ba98d0 ui.*: new tests 2016-08-23 07:32:17 +02:00
John Benediktsson dcae1baad5 Revert "ui.gadgets.editors: add editor-constrained-dim function to editor"
This reverts commit 16381beddc.
2016-08-22 07:53:08 -07:00
John Benediktsson fdcbf0d110 Revert "ui.gadgets.editors: remove extra spaces."
This reverts commit 7a4e345f6c.
2016-08-22 07:53:08 -07:00
Björn Lindqvist 351838fcff ui.gadgets.*: updated docs and new tests
As mentioned on the mailing list, the editor class doesn't have a color
slot.
2016-08-22 14:22:28 +02:00
Björn Lindqvist cb39da4b31 math.vectors: new word vclamp for clamping vectors 2016-08-22 14:22:26 +02:00
John Benediktsson 7a4e345f6c ui.gadgets.editors: remove extra spaces. 2016-08-21 21:41:08 -07:00
masweeney 16381beddc ui.gadgets.editors: add editor-constrained-dim function to editor
This function allows the calculation of dimensions with respect
to min/max-row/column values.
2016-08-21 21:40:27 -07:00
Björn Lindqvist 630c4d326f tools.deploy.windows: fix the using ambiguity with the open-file word 2016-08-22 02:05:32 +02:00
Björn Lindqvist d12c03f759 webbrowser.windows: using absolute-path to make opening relative paths work 2016-08-22 02:02:22 +02:00
Björn Lindqvist f17fc68a7e tools.deploy.windows: using an empty string seem to solve #1691 2016-08-21 06:13:45 +02:00
Björn Lindqvist 1a1e95f669 tools.deploy.*: refactoring of the deploy* words
The open-file word from webbrowser can be used to open the
deploy-directory after the deploy is done.
2016-08-21 06:05:42 +02:00
Björn Lindqvist 63524a7425 windows.shell32: formatting the long parameter lists 2016-08-21 02:43:22 +02:00