summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/Intl/MathematicalValue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Intl/MathematicalValue.cpp')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Intl/MathematicalValue.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Intl/MathematicalValue.cpp b/Userland/Libraries/LibJS/Runtime/Intl/MathematicalValue.cpp
index 5d819a5f74..3f40b83a54 100644
--- a/Userland/Libraries/LibJS/Runtime/Intl/MathematicalValue.cpp
+++ b/Userland/Libraries/LibJS/Runtime/Intl/MathematicalValue.cpp
@@ -301,10 +301,8 @@ String MathematicalValue::to_string() const
[](auto) -> String { VERIFY_NOT_REACHED(); });
}
-Value MathematicalValue::to_value(GlobalObject& global_object) const
+Value MathematicalValue::to_value(VM& vm) const
{
- auto& vm = global_object.vm();
-
return m_value.visit(
[](double value) {
return Value(value);