diff --git a/lib/AST/ExprConstant.cpp b/lib/AST/ExprConstant.cpp index 32cb42ea4e078aad02e02beb30629f2cccefce22..041bede6bdc7e981be1d26515e618aed1951285a 100644 --- a/lib/AST/ExprConstant.cpp +++ b/lib/AST/ExprConstant.cpp @@ -984,6 +984,7 @@ namespace { void moveFromAndCancel(SpeculativeEvaluationRAII &&Other) { Info = Other.Info; OldStatus = Other.OldStatus; + OldIsSpeculativelyEvaluating = Other.OldIsSpeculativelyEvaluating; Other.Info = nullptr; }