зеркало из https://github.com/mozilla/gecko-dev.git
Bug 943667: OdinMonkey: Add check when removing AsmJSModule from IonScript, r=luke
This commit is contained in:
Родитель
f2889b9812
Коммит
9da95c1712
|
@ -307,7 +307,8 @@ struct IonScript
|
|||
}
|
||||
bool addDependentAsmJSModule(JSContext *cx, DependentAsmJSModuleExit exit);
|
||||
void removeDependentAsmJSModule(DependentAsmJSModuleExit exit) {
|
||||
JS_ASSERT(dependentAsmJSModules);
|
||||
if (!dependentAsmJSModules)
|
||||
return;
|
||||
for (size_t i = 0; i < dependentAsmJSModules->length(); i++) {
|
||||
if (dependentAsmJSModules->begin()[i].module == exit.module &&
|
||||
dependentAsmJSModules->begin()[i].exitIndex == exit.exitIndex)
|
||||
|
|
Загрузка…
Ссылка в новой задаче