[PATCH] D15115: [Microsoft][C++] Clang doesn't support a use of "this" pointer inside inline asm
    michael zuckerman via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Dec 15 06:16:16 PST 2015
    
    
  
m_zuckerman added inline comments.
================
Comment at: test/CodeGen/ms_this.cpp:40
@@ +39,3 @@
+    //CHECK: %this.addr = alloca %struct.s*
+	//CHECK: call void asm sideeffect inteldialect "mov eax, qword ptr this"
+  }
----------------
rnk wrote:
> Is this correct? Shouldn't "this" be $1 or something?
This is depend on which mode we use 32 or 64. I changed it to be consistent with other class . 
Repository:
  rL LLVM
http://reviews.llvm.org/D15115
    
    
More information about the llvm-commits
mailing list