LibJS: Replace boolean without_side_effects parameters with an enum

This commit is contained in:
Idan Horowitz 2021-06-17 03:12:41 +03:00 committed by Andreas Kling
commit dcb55db99b
Notes: sideshowbarker 2024-07-18 12:07:43 +09:00
16 changed files with 56 additions and 51 deletions

View file

@ -20,7 +20,7 @@ class DebuggerGlobalJSObject final
public:
DebuggerGlobalJSObject();
JS::Value get(const JS::PropertyName& name, JS::Value receiver, bool without_side_effects) const override;
JS::Value get(const JS::PropertyName& name, JS::Value receiver, JS::AllowSideEffects = JS::AllowSideEffects::Yes) const override;
bool put(const JS::PropertyName& name, JS::Value value, JS::Value receiver) override;
Optional<JS::Value> debugger_to_js(const Debug::DebugInfo::VariableInfo&) const;