aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PIC16
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-07-01 18:50:55 +0000
committerBill Wendling <isanbard@gmail.com>2009-07-01 18:50:55 +0000
commit045f2635a5664c0659134e6a5f6c4dbda17550f3 (patch)
treed357bd5bdf353f4b9eb6ba50c249bb12c5cf5229 /lib/Target/PIC16
parentf99c064f557505abbb4a9ab4f60a477063f33728 (diff)
downloadexternal_llvm-045f2635a5664c0659134e6a5f6c4dbda17550f3.zip
external_llvm-045f2635a5664c0659134e6a5f6c4dbda17550f3.tar.gz
external_llvm-045f2635a5664c0659134e6a5f6c4dbda17550f3.tar.bz2
Update comments to make it clear that the function alignment is the Log2 of the
bytes and not bytes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74624 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PIC16')
-rw-r--r--lib/Target/PIC16/PIC16ISelLowering.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PIC16/PIC16ISelLowering.h b/lib/Target/PIC16/PIC16ISelLowering.h
index d5008c3..b40ea12 100644
--- a/lib/Target/PIC16/PIC16ISelLowering.h
+++ b/lib/Target/PIC16/PIC16ISelLowering.h
@@ -145,7 +145,7 @@ namespace llvm {
unsigned GetTmpSize() { return TmpSize; }
void SetTmpSize(unsigned Size) { TmpSize = Size; }
- /// getFunctionAlignment - Return the function alignment.
+ /// getFunctionAlignment - Return the Log2 alignment of this function.
virtual unsigned getFunctionAlignment(const Function *) const {
// FIXME: The function never seems to be aligned.
return 1;