summaryrefslogtreecommitdiffstats
path: root/llvm/examples/Kaleidoscope/Chapter6/toy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/examples/Kaleidoscope/Chapter6/toy.cpp')
-rw-r--r--llvm/examples/Kaleidoscope/Chapter6/toy.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/examples/Kaleidoscope/Chapter6/toy.cpp b/llvm/examples/Kaleidoscope/Chapter6/toy.cpp
index 87048bb2da4..b4e8397e9e6 100644
--- a/llvm/examples/Kaleidoscope/Chapter6/toy.cpp
+++ b/llvm/examples/Kaleidoscope/Chapter6/toy.cpp
@@ -626,7 +626,6 @@ Value *VariableExprAST::Codegen() {
Value *V = NamedValues[Name];
if (!V)
return ErrorV("Unknown variable name");
-
return V;
}
OpenPOWER on IntegriCloud