LibJS: Stop propagating small OOM errors from Intl.MathematicalValue

This commit is contained in:
Timothy Flynn 2023-08-30 11:55:14 -04:00 committed by Andreas Kling
commit 30a812b77b
Notes: sideshowbarker 2024-07-17 18:08:55 +09:00
3 changed files with 25 additions and 27 deletions

View file

@ -80,7 +80,7 @@ public:
bool modulo_is_zero(Checked<i32> mod) const;
ThrowCompletionOr<int> logarithmic_floor(VM&) const;
int logarithmic_floor() const;
bool is_equal_to(MathematicalValue const&) const;
bool is_less_than(MathematicalValue const&) const;
@ -89,7 +89,7 @@ public:
bool is_positive() const;
bool is_zero() const;
ThrowCompletionOr<String> to_string(VM&) const;
String to_string() const;
Value to_value(VM&) const;
private: