diff options
author | Bruce Forstall <brucefo@microsoft.com> | 2017-10-03 14:06:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-03 14:06:59 -0700 |
commit | 790406c39e1ce3e0df8f557ae853caa2d7728c11 (patch) | |
tree | 46caf2324ac74c8b1e94a00194d76ecca43963ec /src/jit | |
parent | 895a755d090ff04ed2e043e851dadc1c30f0cb35 (diff) | |
parent | b8f72d4e07bbed9beab7ac16f9744d425631a340 (diff) | |
download | coreclr-790406c39e1ce3e0df8f557ae853caa2d7728c11.tar.gz coreclr-790406c39e1ce3e0df8f557ae853caa2d7728c11.tar.bz2 coreclr-790406c39e1ce3e0df8f557ae853caa2d7728c11.zip |
Merge pull request #14295 from BruceForstall/FixArm64FastTailcallGSCookie
Put JIT64 compat assert under `_TARGET_AMD64_` ifdef
Diffstat (limited to 'src/jit')
-rw-r--r-- | src/jit/lower.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/jit/lower.cpp b/src/jit/lower.cpp index 2c26ed0c60..c2c405fad6 100644 --- a/src/jit/lower.cpp +++ b/src/jit/lower.cpp @@ -1725,7 +1725,10 @@ void Lowering::LowerFastTailCall(GenTreeCall* call) assert(!comp->opts.compNeedSecurityCheck); // tail call from methods that need security check assert(!call->IsUnmanaged()); // tail calls to unamanaged methods assert(!comp->compLocallocUsed); // tail call from methods that also do localloc - assert(!comp->getNeedsGSSecurityCookie()); // jit64 compat: tail calls from methods that need GS check + +#ifdef _TARGET_AMD64_ + assert(!comp->getNeedsGSSecurityCookie()); // jit64 compat: tail calls from methods that need GS check +#endif // _TARGET_AMD64_ // We expect to see a call that meets the following conditions assert(call->IsFastTailCall()); |