[ARM64/Windows] Corrected the address used to push fp,lr in JIT_Stelem_Ref
authorPankaj Gode <pgode.qdt@qualcommdatacenter.com>
Thu, 14 Sep 2017 14:01:32 +0000 (19:31 +0530)
committerPankaj Gode <pgode.qdt@qualcommdatacenter.com>
Thu, 14 Sep 2017 14:01:32 +0000 (19:31 +0530)
Commit migrated from https://github.com/dotnet/coreclr/commit/36f398a80fa301a33d6b01feb104cfe4ee466d04

src/coreclr/src/vm/arm64/asmhelpers.asm

index a725b26..375fcfe 100644 (file)
@@ -1447,7 +1447,7 @@ ThrowIndexOutOfRangeException
 ;   x12 = array->GetArrayElementTypeHandle()
 ;
     NESTED_ENTRY JIT_Stelem_Ref_NotExactMatch    
-    PROLOG_SAVE_REG_PAIR           fp, lr, #-0x48!    
+    PROLOG_SAVE_REG_PAIR           fp, lr, #-48!    
     stp     x0, x1, [sp, #16]
     str     x2, [sp, #32]
 
@@ -1469,7 +1469,7 @@ NeedFrame
 DoWrite        
     ldp     x0, x1, [sp, #16]
     ldr     x2, [sp, #32]      
-    EPILOG_RESTORE_REG_PAIR           fp, lr, #0x48!
+    EPILOG_RESTORE_REG_PAIR           fp, lr, #48!
     EPILOG_BRANCH JIT_Stelem_DoWrite    
     NESTED_END