mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 22:48:11 +00:00
LibJS: Make Cell::Visitor::visit_impl() take a Cell&
Passing a null cell pointer is not supported.
This commit is contained in:
parent
789d20ebb7
commit
0de954e86b
3 changed files with 7 additions and 7 deletions
|
@ -330,7 +330,7 @@ inline Value js_negative_infinity()
|
|||
inline void Cell::Visitor::visit(Value value)
|
||||
{
|
||||
if (value.is_cell())
|
||||
visit_impl(value.as_cell());
|
||||
visit_impl(*value.as_cell());
|
||||
}
|
||||
|
||||
Value greater_than(GlobalObject&, Value lhs, Value rhs);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue