mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-21 00:23:20 +00:00
21 lines
386 B
C++
21 lines
386 B
C++
![]() |
/*
|
||
|
* Copyright (c) 2023, Dan Klishch <danilklishch@gmail.com>
|
||
|
*
|
||
|
* SPDX-License-Identifier: BSD-2-Clause
|
||
|
*/
|
||
|
|
||
|
#include "Compiler/CompilerPass.h"
|
||
|
#include "Function.h"
|
||
|
|
||
|
namespace JSSpecCompiler {
|
||
|
|
||
|
void IntraproceduralCompilerPass::run()
|
||
|
{
|
||
|
for (auto const& function : m_translation_unit->function_definitions) {
|
||
|
m_function = function;
|
||
|
process_function();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|