summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CWriter/Writer.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-09-20 14:39:18 +0000
committerChris Lattner <sabre@nondot.org>2003-09-20 14:39:18 +0000
commit5dac64f6297e679a7cbbe2ae01b4160bb9db60b1 (patch)
treed535c05b0364b360cc3822368d8a814c0893eddb /llvm/lib/CWriter/Writer.cpp
parent21f750fabb16cfa94b81000a2c298daf7ed53428 (diff)
downloadbcm5719-llvm-5dac64f6297e679a7cbbe2ae01b4160bb9db60b1.tar.gz
bcm5719-llvm-5dac64f6297e679a7cbbe2ae01b4160bb9db60b1.zip
Rename Function::getEntryNode -> getEntryBlock
llvm-svn: 8625
Diffstat (limited to 'llvm/lib/CWriter/Writer.cpp')
-rw-r--r--llvm/lib/CWriter/Writer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CWriter/Writer.cpp b/llvm/lib/CWriter/Writer.cpp
index 65919e8c48d..16d55feb47d 100644
--- a/llvm/lib/CWriter/Writer.cpp
+++ b/llvm/lib/CWriter/Writer.cpp
@@ -105,7 +105,7 @@ namespace {
if (!AI) return false;
if (AI->isArrayAllocation())
return 0; // FIXME: we can also inline fixed size array allocas!
- if (AI->getParent() != &AI->getParent()->getParent()->getEntryNode())
+ if (AI->getParent() != &AI->getParent()->getParent()->getEntryBlock())
return 0;
return AI;
}
OpenPOWER on IntegriCloud