1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 09:37:34 +00:00

AK+Everywhere: Replace all Bitmap::must_create() uses with ::create()

Well, *someone* has to add some more FIXMEs to keep FIXME Roulette
going. :^)
This commit is contained in:
Sam Atkins 2022-12-20 16:45:07 +00:00 committed by Andreas Kling
parent bed5961fc2
commit 29733e65f8
6 changed files with 25 additions and 30 deletions

View file

@ -13,7 +13,7 @@ namespace JS::Bytecode::Passes {
static NonnullOwnPtr<BasicBlock> eliminate_loads(BasicBlock const& block, size_t number_of_registers)
{
auto array_ranges = Bitmap::must_create(number_of_registers, false);
auto array_ranges = Bitmap::create(number_of_registers, false).release_value_but_fixme_should_propagate_errors();
for (auto it = InstructionStreamIterator(block.instruction_stream()); !it.at_end(); ++it) {
if ((*it).type() == Instruction::Type::NewArray) {