From ed38ad8c6b5d31389886ba31958c8efd807bcc7f Mon Sep 17 00:00:00 2001 From: SingleAccretion Date: Tue, 22 Mar 2022 22:29:33 +0300 Subject: [PATCH] emitIns_A: add function header --- src/coreclr/jit/emitxarch.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/coreclr/jit/emitxarch.cpp b/src/coreclr/jit/emitxarch.cpp index cb83b0f7debbc..aaa94aaf08a31 100644 --- a/src/coreclr/jit/emitxarch.cpp +++ b/src/coreclr/jit/emitxarch.cpp @@ -4362,6 +4362,14 @@ void emitter::emitIns_C(instruction ins, emitAttr attr, CORINFO_FIELD_HANDLE fld emitAdjustStackDepthPushPop(ins); } +//------------------------------------------------------------------------ +// emitIns_A: Emit an instruction with one memory ("[address mode]") operand. +// +// Arguments: +// ins - The instruction to emit +// attr - The corresponding emit attribute +// indir - The memory operand, represented as an indirection tree +// void emitter::emitIns_A(instruction ins, emitAttr attr, GenTreeIndir* indir) { ssize_t offs = indir->Offset();