translate: fail on x86 rtasm fail

This commit is contained in:
Keith Whitwell 2008-04-21 19:09:54 +01:00
parent b17e123a8f
commit d3db46eb82
1 changed files with 5 additions and 0 deletions

View File

@ -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;