Abstract

Eclipse is an integrated development environment (IDE). Eclipse has imposed its own compiler called as Eclipse Compiler for Java (ECJ). Eclipse compiler is a compiler for Java programming language. Java class files are the most common form of output of an Eclipse compiler. Common subexpression elimination (CSE) is an optimization technique of compiler. It searches for instances of identical expressions, and analyses whether it is previously executed and replacing them with a single variable holding the computed value. CSE converts binary operation into assignment operation when same binary expression is evaluated. In this paper we design an algorithm for CSE to implant into ecj. After that we analyse experimental results which gives idea how the CPU time is reduced to evaluate the complex expression. Reason behind reducing CPU and compilation timing is that no. of binary operation is reduced and replace by an assignment operation. Hence we utilize the CPU time because assignment operation has lowest precedence than other operation and efficiency of compiler may be improved.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.