mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 04:41:11 +00:00
Bug 1904992 - Handle JSOp::AddDisposable in the stack dump in disassemble. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D215320
This commit is contained in:
parent
b691306510
commit
630b99ecf1
@ -2141,6 +2141,11 @@ bool ExpressionDecompiler::decompilePC(jsbytecode* pc, uint8_t defIndex) {
|
||||
return write("HasOwn(") && decompilePCForStackOperand(pc, -2) &&
|
||||
write(", ") && decompilePCForStackOperand(pc, -1) && write(")");
|
||||
|
||||
# ifdef ENABLE_EXPLICIT_RESOURCE_MANAGEMENT
|
||||
case JSOp::AddDisposable:
|
||||
return decompilePCForStackOperand(pc, -1);
|
||||
# endif
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user