How do I know if a Delphi function will be built-in?

When you mark a function as inline, you are hinting to the compiler that this function is a candidate for inlining. The compiler can still decide that this is not a good idea, and ignore it.

  • Is there a way to see if a function will be embedded or not without using a disassembler? Is there a compiler warning that I don't know about, maybe?

  • What are the embedding rules that the compiler uses? Are there constructs that cause a function to never be embedded, for example?

+5
source share
2 answers

, . , .

, , , ( ), .

, , 10 , . , , . , , , , .

+6

. , .

, , . , , , , . , .

+2

All Articles