SPARC Assembly Language Reference Manual

Exit Print View

Updated: July 2014
 
 

7.1.1 Compiling C/C++ with Inline Templates

Inline template files have .il file extension. Compile inline templates along with the source file that calls them. The code is inlined by the code-generator stage of compilation.

cc -O prog.c code.il

The example above will compile prog.c and inline the code from code.il wherever the function defined by code.il is called in prog.c.