Fix Boehm API violation
We were calling GC_INIT() after doing an allocation (in the baseEnv construction), which is not allowed.
This commit is contained in:
		
							parent
							
								
									da6b704b19
								
							
						
					
					
						commit
						726f7f7fc9
					
				
					 4 changed files with 48 additions and 38 deletions
				
			
		|  | @ -121,6 +121,10 @@ std::ostream & operator << (std::ostream & str, const Value & v); | |||
| typedef list<std::pair<string, Path> > SearchPath; | ||||
| 
 | ||||
| 
 | ||||
| /* Initialise the Boehm GC, if applicable. */ | ||||
| void initGC(); | ||||
| 
 | ||||
| 
 | ||||
| class EvalState | ||||
| { | ||||
| public: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue