Go to the previous, next section.

Values and Literals

These constructors can be used to place immediate values in the SUIF code. Operator overloading section Constructing Expressions Using Operator Overloading also handles immediate values in expressions. But we recommend explicit conversion of immediates to block class before use.

     block(char *)

     block val(char * c)
     block(int);
     block val(int i)   
     block(double);
     block val(double d)
     block(float);
     block val(float d) 










     block(immed *)
     block(immed & im) 


Go to the previous, next section.