mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 21:44:59 +00:00
20 lines
386 B
C++
20 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->functions_to_compile) {
|
|
m_function = function;
|
|
process_function();
|
|
}
|
|
}
|
|
|
|
}
|