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->function_definitions) {
|
|
m_function = function;
|
|
process_function();
|
|
}
|
|
}
|
|
|
|
}
|