JIT: fix ifdef guarding an assert (dotnet/coreclr#22460)
authorAndy Ayers <andya@microsoft.com>
Fri, 8 Feb 2019 16:09:57 +0000 (08:09 -0800)
committerGitHub <noreply@github.com>
Fri, 8 Feb 2019 16:09:57 +0000 (08:09 -0800)
We use `_TARGET_AMD64_`, not `_TARGET_X64_`.

Commit migrated from https://github.com/dotnet/coreclr/commit/76c322d09ee66c0c51f020c8d95dbee7765224d6

src/coreclr/src/jit/codegenxarch.cpp

index ced48c2..707378f 100644 (file)
@@ -3112,7 +3112,7 @@ void CodeGen::genCodeForCpBlkRepMovs(GenTreeBlk* cpBlkNode)
     else
 #endif
     {
-#ifdef _TARGET_X64_
+#ifdef _TARGET_AMD64_
         assert(size > CPBLK_UNROLL_LIMIT && size < CPBLK_MOVS_LIMIT);
 #else
         assert(size > CPBLK_UNROLL_LIMIT);