Fix an incorrect comment in main.c and TestConditionalBreak.py.

It should be c's parent frame being a instead of the other way around.

llvm-svn: 118198
This commit is contained in:
Johnny Chen 2010-11-03 22:00:28 +00:00
parent 87bb589c4d
commit fb53d5069d
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ class ConditionalBreakTestCase(TestBase):
# Find the line number where a's parent frame function is c.
line = line_number('main.c',
"// Find the line number where a's parent frame function is c here.")
"// Find the line number where c's parent frame is a here.")
# Suppose we are only interested in the call scenario where c()'s
# immediate caller is a() and we want to find out the value passed from

View File

@ -24,7 +24,7 @@ int a(int val)
if (val <= 1)
return b(val);
else if (val >= 3)
return c(val); // Find the line number where a's parent frame function is c here.
return c(val); // Find the line number where c's parent frame is a here.
return val;
}