summaryrefslogtreecommitdiffstats
path: root/llvm/docs/tutorial
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-22 00:24:57 +0000
committerOwen Anderson <resistor@mac.com>2009-07-22 00:24:57 +0000
commit47db941fd3e5a698c4417e38686ff6da6b2d81ee (patch)
treef1bc8ce05f4b4c0c6f5eb775c3e5b12eda35e2f1 /llvm/docs/tutorial
parent4565ef5b65b7d0b778b41836d70b806196cc8e24 (diff)
downloadbcm5719-llvm-47db941fd3e5a698c4417e38686ff6da6b2d81ee.tar.gz
bcm5719-llvm-47db941fd3e5a698c4417e38686ff6da6b2d81ee.zip
Get rid of the Pass+Context magic.
llvm-svn: 76702
Diffstat (limited to 'llvm/docs/tutorial')
-rw-r--r--llvm/docs/tutorial/LangImpl5.html2
-rw-r--r--llvm/docs/tutorial/LangImpl6.html2
-rw-r--r--llvm/docs/tutorial/LangImpl7.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/llvm/docs/tutorial/LangImpl5.html b/llvm/docs/tutorial/LangImpl5.html
index 5f50cb28c5b..a783c4abbd8 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 TheFunction->getContext().getNullValue(Type::DoubleTy);
}
</pre>
</div>
diff --git a/llvm/docs/tutorial/LangImpl6.html b/llvm/docs/tutorial/LangImpl6.html
index 9fffb53398b..1933d71c066 100644
--- a/llvm/docs/tutorial/LangImpl6.html
+++ b/llvm/docs/tutorial/LangImpl6.html
@@ -1570,7 +1570,7 @@ Value *ForExprAST::Codegen() {
// for expr always returns 0.0.
- return TheFunction->getContext()->getNullValue(Type::DoubleTy);
+ return TheFunction->getContext().getNullValue(Type::DoubleTy);
}
Function *PrototypeAST::Codegen() {
diff --git a/llvm/docs/tutorial/LangImpl7.html b/llvm/docs/tutorial/LangImpl7.html
index 27a30f73439..07c8da653c7 100644
--- a/llvm/docs/tutorial/LangImpl7.html
+++ b/llvm/docs/tutorial/LangImpl7.html
@@ -1858,7 +1858,7 @@ Value *ForExprAST::Codegen() {
// for expr always returns 0.0.
- return TheFunction->getContext()->getNullValue(Type::DoubleTy);
+ return TheFunction->getContext().getNullValue(Type::DoubleTy);
}
Value *VarExprAST::Codegen() {
OpenPOWER on IntegriCloud