fbcc663cbf 
								
							 
						 
						
							
							
								
								llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.  
							
							... 
							
							
							
							This adds location info for all llvm_unreachable calls (which is a macro now) in
!NDEBUG builds.
In NDEBUG builds location info and the message is off (it only prints
"UREACHABLE executed").
llvm-svn: 75640 
							
						 
						
							2009-07-14 16:55:14 +00:00  
				
					
						
							
							
								 
						
							
								56d0659726 
								
							 
						 
						
							
							
								
								assert(0) -> LLVM_UNREACHABLE.  
							
							... 
							
							
							
							Make llvm_unreachable take an optional string, thus moving the cerr<< out of
line.
LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for
NDEBUG builds.
llvm-svn: 75379 
							
						 
						
							2009-07-11 20:10:48 +00:00  
				
					
						
							
							
								 
						
							
								632bfb31c9 
								
							 
						 
						
							
							
								
								Fix the EE bindings to use the proper EE interfaces for creating a JIT.  
							
							... 
							
							
							
							Calling into createJIT directly creates a circular dependency between libjit and lib ee.
llvm-svn: 73567 
							
						 
						
							2009-06-16 22:26:13 +00:00  
				
					
						
							
							
								 
						
							
								352ee2cb05 
								
							 
						 
						
							
							
								
								Fix the JIT bindings for ocaml.  
							
							... 
							
							
							
							llvm-svn: 70454 
							
						 
						
							2009-04-30 00:43:39 +00:00  
				
					
						
							
							
								 
						
							
								026e5d7667 
								
							 
						 
						
							
							
								
								Instead of passing in an unsigned value for the optimization level, use an enum,  
							
							... 
							
							
							
							which better identifies what the optimization is doing. And is more flexible for
future uses.
llvm-svn: 70440 
							
						 
						
							2009-04-29 23:29:43 +00:00  
				
					
						
							
							
								 
						
							
								9f795134f3 
								
							 
						 
						
							
							
								
								The second part of the change from -fast to -O#. This changes the JIT to accept  
							
							... 
							
							
							
							an optimization level instead of a simple boolean telling it to generate code
"fast" or the other type of "fast".
llvm-svn: 70347 
							
						 
						
							2009-04-29 00:32:19 +00:00  
				
					
						
							
							
								 
						
							
								41b43da217 
								
							 
						 
						
							
							
								
								add getPointerToGlobal to the C bindings, patch by Lennart Augustsson!  
							
							... 
							
							
							
							PR3364
llvm-svn: 62697 
							
						 
						
							2009-01-21 18:11:10 +00:00  
				
					
						
							
							
								 
						
							
								5225cd66cf 
								
							 
						 
						
							
							
								
								Fix the LLVMCreateJITCompiler C binding.  
							
							... 
							
							
							
							Evan broke it in r54523 by adding a parameter in the implementation without
updating the header correspondingly.
llvm-svn: 54555 
							
						 
						
							2008-08-08 20:49:28 +00:00  
				
					
						
							
							
								 
						
							
								7ff05bf541 
								
							 
						 
						
							
							
								
								Add new parameter Fast to createJIT to enable the fast codegen path.  
							
							... 
							
							
							
							llvm-svn: 54523 
							
						 
						
							2008-08-08 08:11:34 +00:00  
				
					
						
							
							
								 
						
							
								9f337549a7 
								
							 
						 
						
							
							
								
								Add C binding for ExecutionEngine::addGlobalMapping.  
							
							... 
							
							
							
							llvm-svn: 52523 
							
						 
						
							2008-06-20 02:16:11 +00:00  
				
					
						
							
							
								 
						
							
								7993f4a6d1 
								
							 
						 
						
							
							
								
								PR2202: LLVMCreateInterpreter creates a JIT  
							
							... 
							
							
							
							Applying fix by Frits van Bommel.
llvm-svn: 50249 
							
						 
						
							2008-04-25 02:52:30 +00:00  
				
					
						
							
							
								 
						
							
								0f760dfe09 
								
							 
						 
						
							
							
								
								Fix "Control reaches the end of non-void function" warnings,  
							
							... 
							
							
							
							patch by David Chisnall.
llvm-svn: 48963 
							
						 
						
							2008-03-30 18:22:13 +00:00  
				
					
						
							
							
								 
						
							
								8ac07c2834 
								
							 
						 
						
							
							
								
								Expose ExecutionEngine::getTargetData() to c and ocaml bindings.  
							
							... 
							
							
							
							llvm-svn: 48851 
							
						 
						
							2008-03-27 00:27:14 +00:00  
				
					
						
							
							
								 
						
							
								579f07135a 
								
							 
						 
						
							
							
								
								Unbreak build with gcc 4.3: provide missed includes and silence most annoying warnings.  
							
							... 
							
							
							
							llvm-svn: 47367 
							
						 
						
							2008-02-20 11:08:44 +00:00  
				
					
						
							
							
								 
						
							
								c50c210d76 
								
							 
						 
						
							
							
								
								I doubt the address of the Error string was intended  
							
							... 
							
							
							
							to be used for the force_interpreter parameter...
Spotted by gcc-4.2.
llvm-svn: 45714 
							
						 
						
							2008-01-07 19:14:42 +00:00  
				
					
						
							
							
								 
						
							
								f3ebc3f3d2 
								
							 
						 
						
							
							
								
								Remove attribution from file headers, per discussion on llvmdev.  
							
							... 
							
							
							
							llvm-svn: 45418 
							
						 
						
							2007-12-29 20:36:04 +00:00  
				
					
						
							
							
								 
						
							
								2a8cd89d03 
								
							 
						 
						
							
							
								
								C and Ocaml bindings for ExecutionEngine (i.e., the JIT compiler).  
							
							... 
							
							
							
							llvm-svn: 45335 
							
						 
						
							2007-12-23 16:59:28 +00:00