mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 943667: OdinMonkey: Add check when removing AsmJSModule from IonScript, r=luke
This commit is contained in:
parent
0e8faaec28
commit
3b43741a29
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user