Commit 62906aaa by Jason Merrill

tweak comment

From-SVN: r150940
parent 595de302
...@@ -3953,12 +3953,13 @@ mark_used (tree decl) ...@@ -3953,12 +3953,13 @@ mark_used (tree decl)
within the body of a function so as to avoid collecting live data within the body of a function so as to avoid collecting live data
on the stack (such as overload resolution candidates). on the stack (such as overload resolution candidates).
??? Now that inlining is done unit-at-a-time, we ought to defer We could just let cp_write_global_declarations handle synthesizing
synthesis like we do templates. */ this function, since we just added it to deferred_fns, but doing
it at the use site produces better error messages. */
++function_depth; ++function_depth;
synthesize_method (decl); synthesize_method (decl);
--function_depth; --function_depth;
/* If we've already synthesized the method we don't need to /* If this is a synthesized method we don't need to
do the instantiation test below. */ do the instantiation test below. */
} }
else if ((DECL_NON_THUNK_FUNCTION_P (decl) || TREE_CODE (decl) == VAR_DECL) else if ((DECL_NON_THUNK_FUNCTION_P (decl) || TREE_CODE (decl) == VAR_DECL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment