diff options
author | Gabor Greif <ggreif@gmail.com> | 2008-06-10 01:52:17 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2008-06-10 01:52:17 +0000 |
commit | 5934adf9bbe4e5b06d313e58bdae5907c11cfa51 (patch) | |
tree | f561816e49123b4fa8f7eb69312b78ebb4e4d825 /docs/tutorial/LangImpl4.html | |
parent | c5b822b5b6e7fbf92b7be11888ca2859cef187f1 (diff) | |
download | external_llvm-5934adf9bbe4e5b06d313e58bdae5907c11cfa51.zip external_llvm-5934adf9bbe4e5b06d313e58bdae5907c11cfa51.tar.gz external_llvm-5934adf9bbe4e5b06d313e58bdae5907c11cfa51.tar.bz2 |
adjust calls to ConstantFP::get to new API
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52165 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/tutorial/LangImpl4.html')
-rw-r--r-- | docs/tutorial/LangImpl4.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial/LangImpl4.html b/docs/tutorial/LangImpl4.html index b956260..8f5e054 100644 --- a/docs/tutorial/LangImpl4.html +++ b/docs/tutorial/LangImpl4.html @@ -863,7 +863,7 @@ static FunctionPassManager *TheFPM; Value *ErrorV(const char *Str) { Error(Str); return 0; } Value *NumberExprAST::Codegen() { - return ConstantFP::get(Type::DoubleTy, APFloat(Val)); + return ConstantFP::get(APFloat(Val)); } Value *VariableExprAST::Codegen() { |