diff options
author | Bruce Forstall <brucefo@microsoft.com> | 2016-11-26 20:40:13 -0800 |
---|---|---|
committer | Bruce Forstall <brucefo@microsoft.com> | 2016-11-28 09:58:14 -0800 |
commit | d20a00d37cd833cec3bd5e46c66dcde07dd28f32 (patch) | |
tree | 732aea06b1ccf82ee22561c3d152de47c9db45f8 /src/jit/emitxarch.h | |
parent | 0c0e872d4ff27f37eecb8e24e1da89fa34975370 (diff) | |
download | coreclr-d20a00d37cd833cec3bd5e46c66dcde07dd28f32.tar.gz coreclr-d20a00d37cd833cec3bd5e46c66dcde07dd28f32.tar.bz2 coreclr-d20a00d37cd833cec3bd5e46c66dcde07dd28f32.zip |
Factor out common stack adjustment code
Diffstat (limited to 'src/jit/emitxarch.h')
-rw-r--r-- | src/jit/emitxarch.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/jit/emitxarch.h b/src/jit/emitxarch.h index dfd7e6ec50..0cc3e9fb70 100644 --- a/src/jit/emitxarch.h +++ b/src/jit/emitxarch.h @@ -226,6 +226,18 @@ bool emitVerifyEncodable(instruction ins, emitAttr size, regNumber reg1, regNumb bool emitInsCanOnlyWriteSSE2OrAVXReg(instrDesc* id); +#if FEATURE_FIXED_OUT_ARGS +void emitAdjustStackDepthPushPop(instruction ins) +{ +} +void emitAdjustStackDepth(instruction ins, ssize_t val) +{ +} +#else // !FEATURE_FIXED_OUT_ARGS +void emitAdjustStackDepthPushPop(instruction ins); +void emitAdjustStackDepth(instruction ins, ssize_t val); +#endif // !FEATURE_FIXED_OUT_ARGS + /***************************************************************************** * * Convert between an index scale in bytes to a smaller encoding used for |