aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2010-03-03 01:02:48 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2010-03-03 01:02:48 +0000
commit97ccfa599c0479a4ea9b4df9291c564d5afd80e3 (patch)
tree367a7d843a5ffb9f6198bc1b18a5dce706d5a676
parent3262a0f7b8c5484635b591dc83125fd24d6ad016 (diff)
Add comments to test case.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97619 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Analysis/inline2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Analysis/inline2.c b/test/Analysis/inline2.c
index 9029fb9c67..e2758c160a 100644
--- a/test/Analysis/inline2.c
+++ b/test/Analysis/inline2.c
@@ -2,6 +2,8 @@
// Test parameter 'a' is registered to LiveVariables analysis data although it
// is not referenced in the function body.
+// Before processing 'return 1;', in RemoveDeadBindings(), we query the liveness
+// of 'a', because we have a binding for it due to parameter passing.
int f1(int a) {
return 1;
}