summaryrefslogtreecommitdiffstats
path: root/clang/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-06-02 04:16:21 +0000
committerChris Lattner <sabre@nondot.org>2007-06-02 04:16:21 +0000
commit84915fa79b737ac4d4f50b4441fb2f947d978199 (patch)
tree9acef88ce6f1757210656ae89fbd0febd2820bdc /clang/CodeGen/CodeGenFunction.cpp
parente0c4ae1f247fbd813feb7c16292deaa5955c6253 (diff)
downloadbcm5719-llvm-84915fa79b737ac4d4f50b4441fb2f947d978199.tar.gz
bcm5719-llvm-84915fa79b737ac4d4f50b4441fb2f947d978199.zip
Start stubbing out decl codegen.
llvm-svn: 39550
Diffstat (limited to 'clang/CodeGen/CodeGenFunction.cpp')
-rw-r--r--clang/CodeGen/CodeGenFunction.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/CodeGen/CodeGenFunction.cpp b/clang/CodeGen/CodeGenFunction.cpp
index c5c3f5256fe..00f55b8bce9 100644
--- a/clang/CodeGen/CodeGenFunction.cpp
+++ b/clang/CodeGen/CodeGenFunction.cpp
@@ -126,6 +126,9 @@ void CodeGenFunction::GenerateCode(const FunctionDecl *FD) {
Builder.SetInsertPoint(EntryBB);
+ // TODO: handle params.
+
+ // Emit the function body.
EmitStmt(FD->getBody());
// Emit a return for code that falls off the end.
OpenPOWER on IntegriCloud