Example #1
0
 public void VisitLoadAddr(LoadArgAddress load)
 {
     if (m_needsCheck)
     {
         Log.DebugLine(this, "removing '{0}'", load.Name);
         Unused.Value = m_args.Remove(load.Name);
     }
 }
Example #2
0
 public void VisitLoadAddress(LoadArgAddress load)
 {
     if (m_needsCheck)
     {
         if (load.Arg == 1 && !m_found1)
         {
             m_found1 = true;
             Log.DebugLine(this, "found value1 use at {0:X2}", load.Untyped.Offset);
         }
         else if (load.Arg == 2 && !m_found2)
         {
             m_found2 = true;
             Log.DebugLine(this, "found value2 use at {0:X2}", load.Untyped.Offset);
         }
     }
 }