mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-19 01:22:54 +00:00
18 lines
312 B
C++
18 lines
312 B
C++
/*
|
|
* Copyright (c) 2024, Dan Klishch <danilklishch@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include "Runtime/Realm.h"
|
|
#include "Runtime/Object.h"
|
|
|
|
namespace JSSpecCompiler::Runtime {
|
|
|
|
Realm::Realm(DiagnosticEngine& diag)
|
|
: m_diag(diag)
|
|
, m_global_object(Object::create(this))
|
|
{
|
|
}
|
|
|
|
}
|