projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make test work on non-x86 machines (like my G4 PPC).
[oota-llvm.git]
/
docs
/
tutorial
/
LangImpl4.html
diff --git
a/docs/tutorial/LangImpl4.html
b/docs/tutorial/LangImpl4.html
index b956260628839b27aaf6f51cb56c368928b6c5a9..8f5e054cec9cf27d16da7b79a22c931a97a7cfa8 100644
(file)
--- 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() {