updates fn calling generation
This commit is contained in:
		@@ -2553,7 +2553,11 @@ private:
 | 
				
			|||||||
        
 | 
					        
 | 
				
			||||||
        this->gen_instr_prologue();
 | 
					        this->gen_instr_prologue();
 | 
				
			||||||
        /*generate behavior*/
 | 
					        /*generate behavior*/
 | 
				
			||||||
        this->gen_wait(1);
 | 
					        auto wait_arg0 = this->gen_const(8,1);
 | 
				
			||||||
 | 
					        std::vector<Value*> wait_args{
 | 
				
			||||||
 | 
					            wait_arg0
 | 
				
			||||||
 | 
					        };
 | 
				
			||||||
 | 
					        this->builder.CreateCall(this->mod->getFunction("wait"), wait_args);
 | 
				
			||||||
        bb = BasicBlock::Create(this->mod->getContext(), "entry", this->func, this->leave_blk);
 | 
					        bb = BasicBlock::Create(this->mod->getContext(), "entry", this->func, this->leave_blk);
 | 
				
			||||||
        auto returnValue = std::make_tuple(CONT,bb);
 | 
					        auto returnValue = std::make_tuple(CONT,bb);
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user