#if defined(_TARGET_XARCH_) || defined(_TARGET_ARM64_)
authorFei Peng <fei.peng@intel.com>
Sat, 20 Jan 2018 06:08:03 +0000 (22:08 -0800)
committerFei Peng <fei.peng@intel.com>
Sat, 20 Jan 2018 06:08:03 +0000 (22:08 -0800)
src/jit/compiler.h

index 9cc119a..dd11231 100644 (file)
@@ -7979,7 +7979,7 @@ private:
 
     bool compSupports(InstructionSet isa) const
     {
-#if defined(_TARGET_XARCH_) | defined(_TARGET_ARM64_)
+#if defined(_TARGET_XARCH_) || defined(_TARGET_ARM64_)
         return (opts.compSupportsISA & (1ULL << isa)) != 0;
 #else
         return false;
@@ -8105,7 +8105,7 @@ public:
         bool compCanUseSSE4; // Allow CodeGen to use SSE3, SSSE3, SSE4.1 and SSE4.2 instructions
 #endif                       // _TARGET_XARCH_
 
-#if defined(_TARGET_XARCH_) | defined(_TARGET_ARM64_)
+#if defined(_TARGET_XARCH_) || defined(_TARGET_ARM64_)
         uint64_t compSupportsISA;
         void setSupportedISA(InstructionSet isa)
         {