summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Forstall <brucefo@microsoft.com>2018-01-20 17:49:40 -0800
committerGitHub <noreply@github.com>2018-01-20 17:49:40 -0800
commit7f4fbdbbaa6f9874678efa7a2cf7463502480fe6 (patch)
tree24976c9e204a4cb55295fed17fab7d3a5f5dfdf4 /src
parentab91124003c73c28d0067f9a822b48eb829ad5cf (diff)
parent5c94055501c7dbe98fbc9b05304c7f5f13a7d8fe (diff)
downloadcoreclr-7f4fbdbbaa6f9874678efa7a2cf7463502480fe6.tar.gz
coreclr-7f4fbdbbaa6f9874678efa7a2cf7463502480fe6.tar.bz2
coreclr-7f4fbdbbaa6f9874678efa7a2cf7463502480fe6.zip
Merge pull request #15948 from fiigii/fix-ifdef
Fix a minor bug
Diffstat (limited to 'src')
-rw-r--r--src/jit/compiler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jit/compiler.h b/src/jit/compiler.h
index e92768f3ad..c59a397297 100644
--- a/src/jit/compiler.h
+++ b/src/jit/compiler.h
@@ -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)
{