projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated VS build system. Patch provided by Cedric Venet:
[oota-llvm.git]
/
docs
/
tutorial
/
LangImpl3.html
diff --git
a/docs/tutorial/LangImpl3.html
b/docs/tutorial/LangImpl3.html
index 39a672dc868a41e9446daf3c76223c8de4d09e4e..2acd3ddb5314aedaf4995981abaec8d698196016 100644
(file)
--- a/
docs/tutorial/LangImpl3.html
+++ b/
docs/tutorial/LangImpl3.html
@@
-159,7
+159,7
@@
we'll do numeric literals:</p>
<div class="doc_code">
<pre>
Value *NumberExprAST::Codegen() {
<div class="doc_code">
<pre>
Value *NumberExprAST::Codegen() {
- return ConstantFP::get(
Type::DoubleTy,
APFloat(Val));
+ return ConstantFP::get(APFloat(Val));
}
</pre>
</div>
}
</pre>
</div>
@@
-1033,7
+1033,7
@@
static std::map<std::string, Value*> NamedValues;
Value *ErrorV(const char *Str) { Error(Str); return 0; }
Value *NumberExprAST::Codegen() {
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() {
}
Value *VariableExprAST::Codegen() {