tweaks per reviewing feedback

This commit is contained in:
Vern Paxson 2022-05-13 16:16:21 -07:00
parent da72c1ea93
commit 702172079a
5 changed files with 14 additions and 14 deletions

View file

@ -546,19 +546,19 @@ class WhenInfo
public:
// Takes ownership of the CaptureList, which if nil signifies
// old-style frame semantics.
WhenInfo(ExprPtr _cond, FuncType::CaptureList* _cl, bool _is_return);
WhenInfo(ExprPtr cond, FuncType::CaptureList* cl, bool is_return);
// Constructor used by script optimization to create a stub.
WhenInfo(bool _is_return);
WhenInfo(bool is_return);
~WhenInfo() { delete cl; }
void AddBody(StmtPtr _s) { s = std::move(_s); }
void AddBody(StmtPtr arg_s) { s = std::move(arg_s); }
void AddTimeout(ExprPtr _timeout, StmtPtr _timeout_s)
void AddTimeout(ExprPtr arg_timeout, StmtPtr arg_timeout_s)
{
timeout = std::move(_timeout);
timeout_s = std::move(_timeout_s);
timeout = std::move(arg_timeout);
timeout_s = std::move(arg_timeout_s);
}
// Complete construction of the associated internals, including