mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:14:58 +00:00
Kernel: Absorb LibBareMetal back into the kernel
This was supposed to be the foundation for some kind of pre-kernel environment, but nobody is working on it right now, so let's move everything back into the kernel and remove all the confusion.
This commit is contained in:
parent
c12cfdea87
commit
21d5f4ada1
75 changed files with 140 additions and 203 deletions
|
@ -100,7 +100,7 @@ bool JsonValue::equals(const JsonValue& other) const
|
|||
if (is_string() && other.is_string() && as_string() == other.as_string())
|
||||
return true;
|
||||
|
||||
#if !defined(KERNEL) && !defined(BOOTSTRAPPER)
|
||||
#if !defined(KERNEL)
|
||||
if (is_number() && other.is_number() && to_number<double>() == other.to_number<double>()) {
|
||||
return true;
|
||||
}
|
||||
|
@ -158,7 +158,7 @@ JsonValue::JsonValue(const char* cstring)
|
|||
{
|
||||
}
|
||||
|
||||
#if !defined(BOOTSTRAPPER) && !defined(KERNEL)
|
||||
#if !defined(KERNEL)
|
||||
JsonValue::JsonValue(double value)
|
||||
: m_type(Type::Double)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue