1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 22:27:42 +00:00

LibJS: Stop qualifying AK::Function

Now that JS function objects are JS::FunctionObject, we can stop
qualifying AK::Function and just say "Function" everywhere. Nice. :^)
This commit is contained in:
Andreas Kling 2021-06-27 22:38:42 +02:00
parent 745a1dbb5d
commit 1bd52ce789
15 changed files with 26 additions and 26 deletions

View file

@ -19,7 +19,7 @@ void PlaceBlocks::perform(PassPipelineExecutable& executable)
HashTable<BasicBlock const*> reachable_blocks;
// Visit the blocks in CFG order
AK::Function<void(BasicBlock const*)> visit = [&](auto* block) {
Function<void(BasicBlock const*)> visit = [&](auto* block) {
if (reachable_blocks.contains(block))
return;