mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 19:14:58 +00:00

For some reason I was afraid to add trivial accessors to classes in earlier PRs, so we now have dozens of classes with public fields. I'm not exactly looking forward to refactoring them all at once but I'll do so gradually.
20 lines
388 B
C++
20 lines
388 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();
|
|
}
|
|
}
|
|
|
|
}
|