зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1371317: ARM simulator: don't assert when triggering a second interrupt; r=luke
MozReview-Commit-ID: CqmCkNFk93t --HG-- extra : rebase_source : f6aada78431b547d8d7392d8b0adf70b493b423a extra : histedit_source : 7f0b27e2a5621bc126a741157668d638ed8aac47
This commit is contained in:
Родитель
ed9030a41a
Коммит
1e1d66cfc9
|
@ -193,7 +193,9 @@ class Simulator
|
|||
T get_pc_as() const { return reinterpret_cast<T>(get_pc()); }
|
||||
|
||||
void trigger_wasm_interrupt() {
|
||||
MOZ_ASSERT(!wasm_interrupt_);
|
||||
// This can be called several times if a single interrupt isn't caught
|
||||
// and handled by the simulator, but this is fine; once the current
|
||||
// instruction is done executing, the interrupt will be handled anyhow.
|
||||
wasm_interrupt_ = true;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче