This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] [C++] speedup cp_tree_chain_matters_p


This patch speeds up cp_tree_chain_matters_p by allowing the last call be sibcalled.

Bootstrapped and tested on powerpc-apple-darwin with no regressions.

OK?


Thanks, Andrew Pinski

ChangeLog:
	* cp-lang.c (cp_tree_chain_matters_p): Expand the
	logical or statement into an if and return
	statements.


Patch:


Attachment: speedup_cp_lang.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]