ahatanak added a comment.

Marking virtual functions as disable_tail_calls is fine since 
disable_tail_calls affects the call sites inside the body of the marked 
function. In your example, it prevents tail call optimization on call sites 
inside B::g, but doesn't affect call sites in D::g.

http://reviews.llvm.org/D12547



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to