LibJS: Inline JS::Value()

I had this out of line for debugging reasons. Put it back inline.
This commit is contained in:
Andreas Kling 2020-04-06 20:30:36 +02:00
commit 4fe14aab3b
Notes: sideshowbarker 2024-07-19 07:50:45 +09:00
2 changed files with 4 additions and 9 deletions

View file

@ -58,7 +58,10 @@ public:
bool is_nan() const { return is_number() && __builtin_isnan(as_double()); }
bool is_infinity() const { return is_number() && __builtin_isinf(as_double()); }
Value();
Value()
: m_type(Type::Empty)
{
}
explicit Value(bool value)
: m_type(Type::Boolean)