diff options
Diffstat (limited to 'llvm/docs/tutorial/LangImpl5.html')
-rw-r--r-- | llvm/docs/tutorial/LangImpl5.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/tutorial/LangImpl5.html b/llvm/docs/tutorial/LangImpl5.html index 8d77d5ec892..9057cae384d 100644 --- a/llvm/docs/tutorial/LangImpl5.html +++ b/llvm/docs/tutorial/LangImpl5.html @@ -856,7 +856,7 @@ the loop again and exiting the loop. Any future code is emitted in the NamedValues.erase(VarName); // for expr always returns 0.0. - return TheFunction->getContext().getNullValue(Type::DoubleTy); + return Constant::getNullValue(Type::DoubleTy); } </pre> </div> |