mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-28 05:52:53 +00:00
JSSpecCompiler: Pave a way for representing compile-time objects
This commit is contained in:
parent
3077e516a2
commit
d99d66e358
Notes:
sideshowbarker
2024-07-18 03:35:30 +09:00
Author: https://github.com/DanShaders
Commit: d99d66e358
Pull-request: https://github.com/SerenityOS/serenity/pull/23647
Reviewed-by: https://github.com/ADKaster ✅
12 changed files with 418 additions and 0 deletions
|
@ -7,11 +7,13 @@
|
|||
#include "Function.h"
|
||||
#include "AST/AST.h"
|
||||
#include "Compiler/ControlFlowGraph.h"
|
||||
#include "Runtime/Realm.h"
|
||||
|
||||
namespace JSSpecCompiler {
|
||||
|
||||
TranslationUnit::TranslationUnit(StringView filename)
|
||||
: m_filename(filename)
|
||||
, m_realm(make<Runtime::Realm>(m_diagnostic_engine))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue