(contains_placeholder): Return 0 for WITH_RECORD_EXPR.
From-SVN: r5620
This commit is contained in:
parent
518e5ce827
commit
67c8d7deb2
|
@ -1887,6 +1887,11 @@ contains_placeholder_p (exp)
|
|||
register enum tree_code code = TREE_CODE (exp);
|
||||
tree inner;
|
||||
|
||||
/* If we have a WITH_RECORD_EXPR, it "cancels" any PLACEHOLDER_EXPR
|
||||
in it since it is supplying a value for it. */
|
||||
if (code == WITH_RECORD_EXPR)
|
||||
return 0;
|
||||
|
||||
switch (TREE_CODE_CLASS (code))
|
||||
{
|
||||
case 'r':
|
||||
|
|
Loading…
Reference in New Issue