
Using Inline Function Expansion
2-30
For a function to be eligible for inlining:
-
The function must be declared with the inline keyword, or
-
The optimizer must be invoked using the
−
o3 switch, and
J
The function is very small (controlled by the
−
oi switch), and
J
The function is declared before it is called
A function may be disqualified from inlining if it:
-
Returns a struct or union
-
Has a struct or union parameter
-
Has a volatile parameter
-
Has a variable length argument list
-
Declares a struct, union, or enum type
-
Contains a static variable
-
Contains a volatile variable
-
Is recursive
-
Contains # pragmas
-
Has too large of a stack (too many local variables)
Содержание TMS320C2x
Страница 8: ...viii...
Страница 69: ...2 47 C Compiler Description...
Страница 159: ...6 36...
Страница 226: ...8 6...
Страница 250: ...Index Index 14 Z z shell option 2 2 2 4 2 14 overriding with c option 4 5 overriding with n option 2 13...