amccarth added inline comments.

================
Comment at: source/Plugins/Process/Windows/Common/TargetThreadWindows.cpp:52
   if (!m_reg_context_sp)
-    m_reg_context_sp = CreateRegisterContextForFrameIndex(0);
+    m_reg_context_sp = CreateRegisterContextForZerothFrame();
 
----------------
This bit seems redundant given that CreateRegisterContextForFrameIndex now 
checks the special case of 0.  It's not a big deal, but I could see someone 
getting confused while debugging things wondering by 
CreateRegisterContextForFrameIndex is sometimes called for frame 0 and 
sometimes not.


https://reviews.llvm.org/D48960



_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to