summaryrefslogtreecommitdiffstats
path: root/docs/tutorial/LangImpl4.html
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2008-06-10 01:52:17 +0000
committerGabor Greif <ggreif@gmail.com>2008-06-10 01:52:17 +0000
commit5934adf9bbe4e5b06d313e58bdae5907c11cfa51 (patch)
treef561816e49123b4fa8f7eb69312b78ebb4e4d825 /docs/tutorial/LangImpl4.html
parentc5b822b5b6e7fbf92b7be11888ca2859cef187f1 (diff)
downloadexternal_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.html2
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() {