Commit Graph

28335 Commits (b27634bff77ee7593da345c9a9cfd71a76760d2c)

Author SHA1 Message Date
Björn Lindqvist 8c781639ed compiler.cfg.linear-scan.ranges: move more range-related features into
this vocab
2015-09-22 08:51:04 +02:00
Björn Lindqvist fb45bc278f compiler.cfg.linear-scan.live-intervals: the reg-class slot can be
removed

it's always the same as vreg>> rep-of reg-class-of so no need to store
that data twice
2015-09-22 08:51:04 +02:00
Björn Lindqvist 68c6654763 compiler.cfg.linear-scan.*: move words for splitting and intersecting ranges to the compiler.cfg.linear-scan.ranges vocab 2015-09-22 08:51:04 +02:00
Björn Lindqvist b8d47ed845 compiler.cfg.linear-scan.ranges: new vocab to contain all the range
related stuff from live intervals
2015-09-22 08:51:03 +02:00
Björn Lindqvist d0aae5cc20 compiler.cfg.linearization: number-blocks can set the number>> accessor
instead of using the numbers dynamic variable
2015-09-22 08:51:03 +02:00
Björn Lindqvist 614595bd9a VM: workhorse attribute not used 2015-09-22 08:51:03 +02:00
John Benediktsson d5c5a1389d ui.gadgets.paragraphs: pref-dim of { 0 0 } if no children. 2015-09-20 09:45:05 -07:00
John Benediktsson e0bcd7423b wrap.words: make it work with empty input. 2015-09-20 09:44:17 -07:00
John Benediktsson 9af266df62 processing.shapes: fix rectangle. 2015-09-16 20:31:55 -07:00
John Benediktsson d6b545a10b html.streams: fix tests. 2015-09-14 20:32:45 -07:00
John Benediktsson ba3f342bf1 help.html: cleanup extra spaces. 2015-09-14 15:43:33 -07:00
John Benediktsson 74d8e43312 help.html: simplify html by saving styles as classes.
We store the CSS classes in the HTML <style> tag.
2015-09-14 13:32:38 -07:00
John Benediktsson eaa65bc66f lexer: change shebang handling to be in skip-blank.
It previously required "#!" to be defined like "!", now it doesn't.
2015-09-10 17:53:04 -07:00
John Benediktsson 59caf874a3 syntax: removing #! as a comment character.
We don't need two types of comments and shebang (#!) is handled
natively by the lexer, so the original reason for #! is not valid.
2015-09-09 18:28:08 -07:00
John Benediktsson 5fdc98cb97 syntax: fix bad search-and-replace. 2015-09-08 16:21:06 -07:00
John Benediktsson e477f6996f Fix comments to be ! not #!. 2015-09-08 16:15:10 -07:00
John Benediktsson 75e50ec5e0 images.loader: use accessors in tests. 2015-09-06 08:23:17 -07:00
Björn Lindqvist 5684fab484 images.loader.gdiplus: fix for the call to GdipBitmapLockBits
GdipBitmapLockBits might trigger gc so the GpRect struct must be copied
to stable stack memory so that the collector doesn't move it.
2015-09-06 15:15:01 +02:00
Björn Lindqvist 721048bbb9 bootstrap.image.tests: total 20 -> 18 2015-09-03 13:18:26 +02:00
John Benediktsson 2435307fb3 peg: some cleanup. 2015-09-02 13:14:01 -07:00
Björn Lindqvist b3de115e3c VM: remove RT_EXCEPTION_HANDLER reference 2015-09-02 21:54:47 +02:00
Björn Lindqvist 769c09def5 VM: for consistency, it is easier to put all functions in the exports file 2015-09-02 21:54:44 +02:00
Björn Lindqvist bc7f9ee669 VM: always use undecorated names when loading ffi functions
For win32, Factor tries four different function names when loading
stdcall and fastcall functions, in case decorated names are used in the
dll. It seems to not be necessary because a dll meant for 3rd party use
will always export undecorated
names (http://blogs.msdn.com/b/oldnewthing/archive/2004/01/12/57833.aspx).
2015-09-02 21:54:41 +02:00
Björn Lindqvist da3de080ee VM: callback_entry_point() and update() can be removed 2015-09-02 21:54:39 +02:00
Björn Lindqvist 9725169ca7 compiler.cfg.intrinsics.misc: use the vm-special-object-offset word 2015-09-02 21:54:36 +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 68c0c0f53a VM: clear commented out code 2015-09-02 21:54:27 +02:00
Björn Lindqvist 85e45ae29e compiler.constants: remove a bunch of constants that are unused
(or only used by the defunkt arm backend)
2015-09-02 21:54:24 +02:00
Björn Lindqvist a89b0c2b30 Docs: reorg of the compiler.constants docs a little 2015-09-02 21:54:21 +02:00
Björn Lindqvist 84ec2164c2 VM: nicer way of initializing those special objects that are aliens 2015-09-02 21:54:18 +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
John Benediktsson b28a24c7df peg: fix some old docs that referred to "p1". 2015-09-02 10:34:59 -07:00
Jon Harper 6ee9fad443 formatting: fix docs for padding and use a better example
Make the padding number coherent between the example and the docs.
Also bump it from 3 to 10 because [[3.14 "%'#5f" printf]] is "3.140000"
because the default precision is 6.
2015-08-30 18:43:59 +02:00
Jon Harper 03630e8100 peg.ebnf: support escaped double quote in a string 2015-08-30 18:43:58 +02:00
Doug Coleman b2a51dfeb2 vocabs.metadata: wrap test in a with-manifest to ensure there's a manifest. Fixes . 2015-08-27 22:28:30 -07:00
Doug Coleman 2a520191e1 vocabs.metadata: Fix test so it stops trying to load the wrong platform vocabulary forever. Fixes . 2015-08-27 18:51:40 -07:00
Doug Coleman bb16ef8a86 windows.kernel32: add more bindings 2015-08-27 11:29:26 -07:00
Björn Lindqvist a9c33cbfd7 VM: better way to set signal_resumable 2015-08-26 20:23:28 +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 316b16f377 VM: instead of enqueue_safepoint() just call set_safepoint_guard() directly 2015-08-26 20:23:23 +02:00
Björn Lindqvist 5a39631b4b VM: refactoring, new function get_thread_pc() and simpler logic in exception_handler() 2015-08-26 20:23:20 +02:00
Björn Lindqvist 2a852915d2 VM: signal_fault_pc probably should be set here... 2015-08-26 20:23:17 +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 05de24e9a1 factor.sh: pass CC and CXX to make script. 2015-08-26 04:58:42 +00:00
Doug Coleman 7a75694d91 factor.sh: add g++ to deps-apt-get. Add all() function to make sure we have both gcc and g++ (since they install separately). Add any() function to tell which of the commands it finds. Fix bug with wget/curl where the function was not meant to accept multiple arguments. 2015-08-26 04:11:19 +00:00
John Benediktsson 8db66d9dd3 ui.gestures: update action gesture docs, thanks @jonenst! 2015-08-24 10:27:00 -07:00
John Benediktsson e45e669fd6 locals.parser: change docs for with-lambda-scope. 2015-08-24 10:21:35 -07:00
Björn Lindqvist cb0bf3b1ce VM: merge memory_protection_error() with memory_signal_handler_impl() 2015-08-24 07:23:40 -07:00
Björn Lindqvist 39c888230a VM: new function set_safepoint_guard to replace the functions (un)guard_safepoint 2015-08-24 07:23:40 -07:00