From d20a00d37cd833cec3bd5e46c66dcde07dd28f32 Mon Sep 17 00:00:00 2001 From: Bruce Forstall Date: Sat, 26 Nov 2016 20:40:13 -0800 Subject: Factor out common stack adjustment code --- src/jit/emitxarch.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/jit/emitxarch.h') 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 -- cgit v1.2.3