Code Optimizer (for Intermediate Code Generator) The code optimizer optimizes the code produced by the intermediate code generator in the terms of time and space. ·Ex: MULT id2,id3,templ ADD templ,#1,id1 CS308 Compiler TheoryCode Optimizer (for Intermediate Code Generator) • The code optimizer optimizes the code produced by the intermediate cod i h fi d de generator in t he terms o f t ime an d space. • Ex: MULT id2,id3,temp1 ADD temp1,#1,id1 CS308 Compiler Theory 12