Partager via


/QIPF_restrict_plabels (Assume No Functions Created at Run Time) 

Assumes that no functions are created at run time.

/QIPF_restrict_plabels

Remarks

Note

/QIPF_restrict_plabels is only available in compilers targeting Itanium. This compiler option is not available in the compilers targeting x64 or x86.

If your program does not create functions at run time, you can compile with /QIPF_restrict_plabels and the compiler will treat pointers to function descriptors as __restrict pointers, so that the contents cannot be overwritten.

With /QIPF_restrict_plabels, the compiler can perform optimizations with indirect calls, such as hoisting the load of a virtual method address out of a loop. This can result in performance enhancements when there are a lot of indirect function calls.

To set this compiler option in the Visual Studio development environment

  • /QIPF_restrict_plabels is not available in the Visual Studio development environment.

To set this compiler option programmatically

See Also

Reference

/Q Options (Low-Level Operations)
Compiler Options
Setting Compiler Options