translate: fail on x86 rtasm fail
This commit is contained in:
parent
b17e123a8f
commit
d3db46eb82
|
@ -597,7 +597,12 @@ struct translate *translate_sse2_create( const struct translate_key *key )
|
|||
goto fail;
|
||||
|
||||
p->gen_run = (run_func)x86_get_func(&p->linear_func);
|
||||
if (p->gen_run == NULL)
|
||||
goto fail;
|
||||
|
||||
p->gen_run_elts = (run_elts_func)x86_get_func(&p->elt_func);
|
||||
if (p->gen_run_elts == NULL)
|
||||
goto fail;
|
||||
|
||||
return &p->translate;
|
||||
|
||||
|
|
Loading…
Reference in New Issue