News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

ml and link

Started by joemc, March 08, 2010, 02:55:39 AM

Previous topic - Next topic

joemc

I know when you use cl.exe and link with the latest versions of Visual Studio it automatically inlines procedures that seem suitable, and recently can do this accross different object modules. so i am guessing the work happens in link.exe since it is from different obj files.   Does this happen to objs put together with ml.exe?

If not is there a way to turn it on?

If it does, is there a way to turn it off?

msdn explanation of link.exe did not have any answers

hutch--

Joe,

As best as I can tell inlining is a compiler option, not a direct linker option but I doubt you can get it to work on external obj modules built with anything else, ML included. I have seen CL inline simple code to cut down the call overhead but the inlined code was almost C intrinsics.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php