removes gen_wait as wait can be called like any other extern function
This commit is contained in:
parent
efc11d87a5
commit
0f15032210
|
@ -90,7 +90,6 @@ protected:
|
|||
using super::write_reg_to_mem;
|
||||
using super::gen_read_mem;
|
||||
using super::gen_write_mem;
|
||||
using super::gen_wait;
|
||||
using super::gen_leave;
|
||||
using super::gen_sync;
|
||||
|
||||
|
|
|
@ -88,7 +88,6 @@ protected:
|
|||
using super::write_reg_to_mem;
|
||||
using super::gen_read_mem;
|
||||
using super::gen_write_mem;
|
||||
using super::gen_wait;
|
||||
using super::gen_leave;
|
||||
using super::gen_sync;
|
||||
|
||||
|
@ -2512,7 +2511,10 @@ private:
|
|||
gen_instr_prologue(jh);
|
||||
cc.comment("//behavior:");
|
||||
/*generate behavior*/
|
||||
gen_wait(jh, 1);
|
||||
InvokeNode* call_wait;
|
||||
jh.cc.comment("//call_wait");
|
||||
jh.cc.invoke(&call_wait, &wait, FuncSignature::build<void, int32_t>());
|
||||
setArg(call_wait, 0, 1);
|
||||
auto returnValue = CONT;
|
||||
|
||||
gen_sync(jh, POST_SYNC, 41);
|
||||
|
|
Loading…
Reference in New Issue