Tail call JIT conditions

Here are the full details I received from Grant Richins and Fei Chen when I asked how the JIT decides whether to employ the tail call optimization.  Note that these statements apply to the JITs as they were when Grant and Fei looked through the code base, and are prone to change at whim.  You…

6

Add local to LocalVarSig

All source code is provided as is, with no warranties intended or implied. Use at your own risk. // Parse the local variables signature for the method we’re rewriting, create a new // localvar signature containing one new local, and return the 0-based ordinal for // that new local. UINT AddNewLocal() {     // Get…

1

sigparse.cpp

8/25/10 Update: All sample code for this topic is now also available on the MSDN Code Gallery SigParse page. All source code is provided as is, with no warranties intended or implied. Use at your own risk. /* Sig ::= MethodDefSig | MethodRefSig | StandAloneMethodSig | FieldSig | PropertySig | LocalVarSig MethodDefSig ::= [[HASTHIS] [EXPLICITTHIS]]…

11

sigformat.cpp

8/25/10 Update: All sample code for this topic is now also available on the MSDN Code Gallery SigParse page. All source code is provided as is, with no warranties intended or implied. Use at your own risk. #include “SigParse.cpp” // ——————————————————————— // ——————————————————————— // This file demonstrates how to use the general-purpose parser (SigParser) by…

0

PlugInToYourProfiler.cpp

8/25/10 Update: All sample code for this topic is now also available on the MSDN Code Gallery SigParse page. All source code is provided as is, with no warranties intended or implied. Use at your own risk. #include “SigFormat.cpp” // ——————————————————————— // ——————————————————————— // This file does not compile on its own. It contains snippets…

0