Exemplo n.º 1
0
            public static LocationUsage ForInstruction(Instruction Instruction, Dictionary <System.Reflection.MethodInfo, HlGraphEntry> RelatedGraphs)
            {
                LocationUsage LocationUsage = new LocationUsage();

                LocationUsage.RelatedGraphs = RelatedGraphs;
                LocationUsage.TraverseTree(Instruction.Argument, false, false);
                LocationUsage.TraverseTree(Instruction.Result, true, false);
                return(LocationUsage);
            }
Exemplo n.º 2
0
            public static LocationUsage ForTree(Node Node, bool TopIsDef)
            {
                LocationUsage LocationUsage = new LocationUsage();

                LocationUsage.TraverseTree(Node, TopIsDef, false);
                return(LocationUsage);
            }