mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 16:22:00 +00:00
No Bug - Fix insane "error handling" in EmitFinishIteratorResult. (rs=jorendorff)
This commit is contained in:
parent
565feca341
commit
524fc6fe76
@ -2307,10 +2307,10 @@ EmitFinishIteratorResult(ExclusiveContext *cx, BytecodeEmitter *bce, bool done)
|
||||
{
|
||||
jsatomid value_id;
|
||||
if (!bce->makeAtomIndex(cx->names().value, &value_id))
|
||||
return UINT_MAX;
|
||||
return false;
|
||||
jsatomid done_id;
|
||||
if (!bce->makeAtomIndex(cx->names().done, &done_id))
|
||||
return UINT_MAX;
|
||||
return false;
|
||||
|
||||
if (!EmitIndex32(cx, JSOP_INITPROP, value_id, bce))
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user