mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 07:37:03 +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:
parent
bed5961fc2
commit
29733e65f8
Notes:
sideshowbarker
2024-07-17 09:37:30 +09:00
Author: https://github.com/AtkinsSJ
Commit: 29733e65f8
Pull-request: https://github.com/SerenityOS/serenity/pull/16605
6 changed files with 25 additions and 30 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue