The role of compilers (contd.)
Front-end: One per language. Once the source code is transformed into a common intermediate code, the rest of the phases are the same for any HLL.
High level optimization involves working on the source code. Example: inline expansion of function.
Local optimization: Within a sequence of code. The straight line section of the code.