зеркало из https://github.com/mozilla/gecko-dev.git
Split up an assertion of x && y && z into separate asserts for x, y, and z, for easier at-a-glance understandings of failures should the assertion ever be hit. No bug, r=sparky
--HG-- extra : rebase_source : a110a0bfce4eecb0c47cba054cb858223f75acf4
This commit is contained in:
Родитель
0bb7849c02
Коммит
f788798a93
|
@ -42,9 +42,9 @@ bool
|
|||
LoopState::init(jsbytecode *head, Jump entry, jsbytecode *entryTarget)
|
||||
{
|
||||
this->lifetime = outerAnalysis->getLoop(head);
|
||||
JS_ASSERT(lifetime &&
|
||||
lifetime->head == uint32_t(head - outerScript->code) &&
|
||||
lifetime->entry == uint32_t(entryTarget - outerScript->code));
|
||||
JS_ASSERT(lifetime);
|
||||
JS_ASSERT(lifetime->head == uint32_t(head - outerScript->code));
|
||||
JS_ASSERT(lifetime->entry == uint32_t(entryTarget - outerScript->code));
|
||||
|
||||
this->entry = entry;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче