Bug 1757393 - remove unused variable. r=yury

Differential Revision: https://phabricator.services.mozilla.com/D139832
This commit is contained in:
Lars T Hansen 2022-02-28 13:38:30 +00:00
Родитель afffec69b7
Коммит 6d220e948a
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -555,10 +555,8 @@ bool wasm::HandleThrow(JSContext* cx, WasmFrameIter& iter,
rfe->framePointer = (uint8_t*)iter.frame(); rfe->framePointer = (uint8_t*)iter.frame();
rfe->tlsData = iter.instance()->tlsData(); rfe->tlsData = iter.instance()->tlsData();
size_t offsetAdjustment = 0;
rfe->stackPointer = rfe->stackPointer =
(uint8_t*)(rfe->framePointer - (uint8_t*)(rfe->framePointer - tryNote->framePushed);
(tryNote->framePushed + offsetAdjustment));
rfe->target = iter.instance()->codeBase(tier) + tryNote->entryPoint; rfe->target = iter.instance()->codeBase(tier) + tryNote->entryPoint;
// Make sure to clear trapping state if we got here due to a trap. // Make sure to clear trapping state if we got here due to a trap.