Björn Lindqvist
							
						 
						
							 
							
							
							
								
							
								d73666b9d0 
								
							
								 
							
						 
						
							
							
								
								VM: the unimplemented error isn't used anymore  
							
							 
							
							... 
							
							
							
							Cause all the primitives are implemented so it can never ever be
thrown. Probably requires new boot images. 
							
						 
						
							2016-11-23 10:24:52 +01:00  
						
					 
				
					
						
							
							
								 
								Björn Lindqvist
							
						 
						
							 
							
							
							
								
							
								c55a6ef873 
								
							
								 
							
						 
						
							
							
								
								VM: removing the unused callstack-bounds primitive  
							
							 
							
							... 
							
							
							
							Probably needs new boot images 
							
						 
						
							2016-11-21 22:30:20 +01:00  
						
					 
				
					
						
							
							
								 
								Alexander Iljin
							
						 
						
							 
							
							
							
								
							
								0245a93bee 
								
							
								 
							
						 
						
							
							
								
								VM: add enable-ctrl-break and disable-ctrl-break primitives  
							
							 
							
							... 
							
							
							
							These are for the Listener to wrap around user-supplied quotations. Nesting
is not supported at the moment. 
							
						 
						
							2016-11-01 16:53:00 -07:00  
						
					 
				
					
						
							
							
								 
								Alexander Iljin
							
						 
						
							 
							
							
							
								
							
								0d57734dab 
								
							
								 
							
						 
						
							
							
								
								vm: replace block comments /**/ with line comments //  
							
							 
							
							
							
						 
						
							2016-09-09 05:47:52 +02:00  
						
					 
				
					
						
							
							
								 
								Björn Lindqvist
							
						 
						
							 
							
							
							
								
							
								5826394573 
								
							
								 
							
						 
						
							
							
								
								VM: the (clear-samples) primitive is unused  
							
							 
							
							
							
						 
						
							2016-05-05 02:33:35 +02:00  
						
					 
				
					
						
							
							
								 
								Björn Lindqvist
							
						 
						
							 
							
							
							
								
							
								a53d5be683 
								
							
								 
							
						 
						
							
							
								
								VM: make allot_alien() and ffi_dlsym() use cell instead of void*  
							
							 
							
							... 
							
							
							
							this way we get rid of a bunch of superfluous casts 
							
						 
						
							2015-08-23 18:36:31 -07:00  
						
					 
				
					
						
							
							
								 
								Björn Lindqvist
							
						 
						
							 
							
							
							
								
							
								59b7a50567 
								
							
								 
							
						 
						
							
							
								
								VM: removing the get_datastack/retainstack/callstack primitives  
							
							 
							
							... 
							
							
							
							they can all be implemented using the
datastack/retainstack/callstack-for primitives and the less primitives
the better! 
							
						 
						
							2015-08-23 18:36:30 -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  
						
					 
				
					
						
							
							
								 
								Björn Lindqvist
							
						 
						
							 
							
							
							
								
							
								b9b75c272b 
								
							
								 
							
						 
						
							
							
								
								VM: let's merge (save-image) and (save-image-and-exit) into one 3  
							
							 
							
							... 
							
							
							
							arg (save-image). it's good not to have to many similar primitives 
							
						 
						
							2015-07-12 22:36:59 +02:00  
						
					 
				
					
						
							
							
								 
								Björn Lindqvist
							
						 
						
							 
							
							
							
								
							
								e00798cd2a 
								
							
								 
							
						 
						
							
							
								
								VM: new primitive free-callback which is able to free a callback  
							
							 
							
							... 
							
							
							
							previously allocated using <callback> 
							
						 
						
							2014-09-29 07:30:21 -07:00  
						
					 
				
					
						
							
							
								 
								Björn Lindqvist
							
						 
						
							 
							
							
							
								
							
								4a96e6163b 
								
							
								 
							
						 
						
							
							
								
								VM: new primitive (callback-room) for querying the VM about memory usage  
							
							 
							
							... 
							
							
							
							The word works exactly like (code-room) except it looks at the memory
usage in the callback heap instead of the code heap. 
							
						 
						
							2014-09-29 07:30:21 -07:00  
						
					 
				
					
						
							
							
								 
								John Benediktsson
							
						 
						
							 
							
							
							
								
							
								eeaa91d6c1 
								
							
								 
							
						 
						
							
							
								
								vm: using bignum>fixnum-strict in integer>fixnum-strict.  
							
							 
							
							
							
						 
						
							2014-06-07 09:46:05 -07:00  
						
					 
				
					
						
							
							
								 
								Erik Charlebois
							
						 
						
							 
							
							
							
								
							
								88d7c10d03 
								
							
								 
							
						 
						
							
							
								
								VM: Replace u8-64, s8-64, cell, fixnum with stdint.h equivalents  
							
							 
							
							
							
						 
						
							2013-05-13 00:28:25 -04:00  
						
					 
				
					
						
							
							
								 
								Erik Charlebois
							
						 
						
							 
							
							
							
								
							
								4dffb25fe6 
								
							
								 
							
						 
						
							
							
								
								VM: Refactor primitives.cpp/hpp to Factor style  
							
							 
							
							
							
						 
						
							2013-05-12 13:24:46 -04:00  
						
					 
				
					
						
							
							
								 
								John Benediktsson
							
						 
						
							 
							
							
							
								
							
								22c26ff3f5 
								
							
								 
							
						 
						
							
							
								
								vm: adding bignum_gcd primitive.  
							
							 
							
							
							
						 
						
							2012-04-05 09:17:35 -07:00  
						
					 
				
					
						
							
							
								 
								Joe Groff
							
						 
						
							 
							
							
							
								
							
								c31530caec 
								
							
								 
							
						 
						
							
							
								
								vm: strip out call-counting profiler  
							
							 
							
							... 
							
							
							
							This makes the separate "code" and "entry_point" fields in word and quotation redundant, so also remove them to reclaim an additional cell per word and quotation object, which should help with #318 . 
							
						 
						
							2011-11-10 16:01:07 -08:00  
						
					 
				
					
						
							
							
								 
								Joe Groff
							
						 
						
							 
							
							
							
								
							
								baebb317e4 
								
							
								 
							
						 
						
							
							
								
								whitespace  
							
							 
							
							
							
						 
						
							2011-11-02 13:23:13 -07:00  
						
					 
				
					
						
							
							
								 
								Joe Groff
							
						 
						
							 
							
							
							
								
							
								27d7e4af53 
								
							
								 
							
						 
						
							
							
								
								vm: actually collect samples and add primitives...  
							
							 
							
							
							
						 
						
							2011-11-02 13:23:10 -07:00  
						
					 
				
					
						
							
							
								 
								Joe Groff
							
						 
						
							 
							
							
							
								
							
								80fb7788d9 
								
							
								 
							
						 
						
							
							
								
								vm: groundwork for sampling profiler  
							
							 
							
							... 
							
							
							
							Set up the state necessary to collect samples. We still need to add GC support for walking the sample set, and the compiler needs to register GC roots before safepoints as well. We also need primitives to expose the data to Factor for reporting. 
							
						 
						
							2011-11-02 13:23:06 -07:00  
						
					 
				
					
						
							
							
								 
								Joe Groff
							
						 
						
							 
							
							
							
								
							
								cdfb1b1b94 
								
							
								 
							
						 
						
							
							
								
								vm: change "profiler" names to "counting_profiler"  
							
							 
							
							
							
						 
						
							2011-11-02 13:23:05 -07:00  
						
					 
				
					
						
							
							
								 
								Joe Groff
							
						 
						
							 
							
							
							
								
							
								d6a06cf5dc 
								
							
								 
							
						 
						
							
							
								
								vm: remove unguard-safepoint primitive  
							
							 
							
							
							
						 
						
							2011-10-27 21:14:47 -07:00  
						
					 
				
					
						
							
							
								 
								Joe Groff
							
						 
						
							 
							
							
							
								
							
								b3e5f75c9e 
								
							
								 
							
						 
						
							
							
								
								vm: handle async signals at safepoints on unix  
							
							 
							
							... 
							
							
							
							Factor now supports the new 4.0BSD feature of "signals". 
							
						 
						
							2011-10-27 21:14:46 -07:00  
						
					 
				
					
						
							
							
								 
								John Benediktsson
							
						 
						
							 
							
							
							
								
							
								afc07c0e05 
								
							
								 
							
						 
						
							
							
								
								io.binary: make le> and be> faster (20% and 75%, respectively).  
							
							 
							
							... 
							
							
							
							Removed primitive byte-array>bignum and digit_stream_to_bignum from vm/. 
							
						 
						
							2011-10-11 21:13:30 -07:00  
						
					 
				
					
						
							
							
								 
								Erik Charlebois
							
						 
						
							 
							
							
							
								
							
								64252dbdbc 
								
							
								 
							
						 
						
							
							
								
								32 and 64 bit Linux PPC support  
							
							 
							
							
							
						 
						
							2011-05-23 23:36:14 -04:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								f27080498d 
								
							
								 
							
						 
						
							
							
								
								Remove bignum>float VM primitive, and use bignum/f to implement >float on bignums instead, for a slight accuracy gain. Also, bignum/f now has a more efficient post-scaling algorithm to break the circular dependency on bignum>float  
							
							 
							
							
							
						 
						
							2010-11-24 22:41:15 -08:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								1985705413 
								
							
								 
							
						 
						
							
							
								
								compiler: now that FFI has been deconcatenatized, we no longer need the special ##unary-float-function and ##binary-float-function fastpaths  
							
							 
							
							
							
						 
						
							2010-08-13 23:59:19 -07:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								cc0d69416f 
								
							
								 
							
						 
						
							
							
								
								vm: fix alien-signed-1/2/4 primitives  
							
							 
							
							
							
						 
						
							2010-07-19 16:03:27 -04:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								b23aac1beb 
								
							
								 
							
						 
						
							
							
								
								compiler.cfg: open-code parameter boxing and unboxing for certain C types  
							
							 
							
							
							
						 
						
							2010-07-19 10:25:13 -04:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								e8d528ad93 
								
							
								 
							
						 
						
							
							
								
								Remove system_micros from vm, implement gmt hook on windows  
							
							 
							
							
							
						 
						
							2010-06-16 23:39:16 -05:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								c2558e6a66 
								
							
								 
							
						 
						
							
							
								
								vm: fix longlong accessors  
							
							 
							
							
							
						 
						
							2010-05-11 23:24:48 -04:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								a9ccfa8f05 
								
							
								 
							
						 
						
							
							
								
								strings: move string-nth primitive out of the VM and into the library  
							
							 
							
							
							
						 
						
							2010-05-03 17:34:12 -04:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								366ce2896f 
								
							
								 
							
						 
						
							
							
								
								Add callstack-bounds primitive to vm/ for use with javascriptcore library  
							
							 
							
							
							
						 
						
							2010-04-19 20:08:15 -05:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								288090d993 
								
							
								 
							
						 
						
							
							
								
								math.parser: expose a format-float primitive for use by formatting vocabulary  
							
							 
							
							
							
						 
						
							2010-04-13 21:21:28 -07:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								0faa3bcf4a 
								
							
								 
							
						 
						
							
							
								
								vm: pre-allocate context alien  
							
							 
							
							
							
						 
						
							2010-04-02 00:02:21 -04:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								fb2ecab614 
								
							
								 
							
						 
						
							
							
								
								threads: delete old contexts immediately instead of handing them off to a 'context recycler' thread  
							
							 
							
							
							
						 
						
							2010-03-30 21:47:48 -04:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								c7142e4281 
								
							
								 
							
						 
						
							
							
								
								threads: use context-switching primitives  
							
							 
							
							
							
						 
						
							2010-03-29 20:40:17 -04:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								1717b8d0f7 
								
							
								 
							
						 
						
							
							
								
								Implement start-context and set-context primitives  
							
							 
							
							
							
						 
						
							2010-03-27 02:56:11 -04:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								560c119cd2 
								
							
								 
							
						 
						
							
							
								
								vm: actually use context callstacks when running code  
							
							 
							
							
							
						 
						
							2010-03-26 22:44:43 -04:00  
						
					 
				
					
						
							
							
								 
								Daniel Ehrenberg
							
						 
						
							 
							
							
							
								
							
								930b0d931b 
								
							
								 
							
						 
						
							
							
								
								Using a higher-order C macro to clean up duplication in declaring/defining VM primitives  
							
							 
							
							
							
						 
						
							2010-03-19 14:05:14 -04:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								6aee6b3adc 
								
							
								 
							
						 
						
							
							
								
								Add context-specific special object table, generalizing catchstack_save and current_callback_save fields of context struct  
							
							 
							
							
							
						 
						
							2010-03-18 22:06:00 +13:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								747974f4ae 
								
							
								 
							
						 
						
							
							
								
								vm: nuke unused (string>float) primitive  
							
							 
							
							
							
						 
						
							2010-02-08 08:16:56 +13:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								26cae00eeb 
								
							
								 
							
						 
						
							
							
								
								Add code heap introspection primitive to VM, and make a code-blocks word in tools.memory that wraps a useful interface around this. Add a lookup-return-address word and use this in tools.disassembler.utils  
							
							 
							
							
							
						 
						
							2010-02-03 23:11:32 +13:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								00328c85e0 
								
							
								 
							
						 
						
							
							
								
								vm: remove vm-ptr primitive  
							
							 
							
							
							
						 
						
							2010-01-20 17:06:49 +13:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								cc69719147 
								
							
								 
							
						 
						
							
							
								
								vm: don't recompile lazy-jit-compile more than once  
							
							 
							
							
							
						 
						
							2010-01-20 02:48:31 +13:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								5606825e8b 
								
							
								 
							
						 
						
							
							
								
								vm: remove primitive table, non-optimizing compiler now looks up primitives with dlsym()  
							
							 
							
							
							
						 
						
							2010-01-19 20:00:33 +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  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								2e65366c6b 
								
							
								 
							
						 
						
							
							
								
								vm: rename myvm and parent_vm instance variables to parent, clean up casts in primitive definitions  
							
							 
							
							
							
						 
						
							2009-10-18 20:31:59 -05:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								85b746e7b5 
								
							
								 
							
						 
						
							
							
								
								vm: simpler and more efficient code heap compaction; restructure a few things to get ready for runtime code heap compaction  
							
							 
							
							
							
						 
						
							2009-10-16 04:33: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
							
						 
						
							 
							
							
							
								
							
								697e2342d0 
								
							
								 
							
						 
						
							
							
								
								vm: put code block owner directly in the header, instead of as the first entry in the literal table. Reduces x86-64 image size by ~700kb, also eliminates separate 'strip' set of staging images from deploy tool  
							
							 
							
							
							
						 
						
							2009-10-06 06:25:07 -05:00