1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:58:11 +00:00

LibJS/Bytecode: Generate bytecode for deleting super properties

This commit is contained in:
Timothy Flynn 2023-07-06 17:10:40 -04:00 committed by Andreas Kling
parent 0d50e5eeee
commit 23daf5097b
5 changed files with 97 additions and 0 deletions

View file

@ -118,7 +118,9 @@ static NonnullOwnPtr<BasicBlock> eliminate_loads(BasicBlock const& block, size_t
break;
}
case DeleteById:
case DeleteByIdWithThis:
case DeleteByValue:
case DeleteByValueWithThis:
// These can trigger proxies, which call into user code
// So these are treated like calls
case GetByValue: