summaryrefslogtreecommitdiff
path: root/src/jit/emit.h
diff options
context:
space:
mode:
authorBruce Forstall <brucefo@microsoft.com>2019-04-12 13:19:14 -0700
committerBruce Forstall <brucefo@microsoft.com>2019-04-12 13:23:58 -0700
commita9c039689e0d08ecc68783649871e9c0090ce8c3 (patch)
tree5a2919d56adafd7b5dd7434311a41418a1e4cbfb /src/jit/emit.h
parentf98564c3382bedf53b65689f5ea1c53942cf6729 (diff)
downloadcoreclr-a9c039689e0d08ecc68783649871e9c0090ce8c3.tar.gz
coreclr-a9c039689e0d08ecc68783649871e9c0090ce8c3.tar.bz2
coreclr-a9c039689e0d08ecc68783649871e9c0090ce8c3.zip
Display the arm instruction size
When dumping an arm instruction, and when we don't have the actual code bytes (such as during code generation, as opposed to emission), display the (current) instruction size, either 2 bytes (2B), 4 bytes (4B), or 6 bytes (6B).
Diffstat (limited to 'src/jit/emit.h')
-rw-r--r--src/jit/emit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/emit.h b/src/jit/emit.h
index 1308531a90..b429920c38 100644
--- a/src/jit/emit.h
+++ b/src/jit/emit.h
@@ -1374,7 +1374,7 @@ protected:
void emitDispClsVar(CORINFO_FIELD_HANDLE fldHnd, ssize_t offs, bool reloc = false);
void emitDispFrameRef(int varx, int disp, int offs, bool asmfm);
void emitDispInsOffs(unsigned offs, bool doffs);
- void emitDispInsHex(BYTE* code, size_t sz);
+ void emitDispInsHex(instrDesc* id, BYTE* code, size_t sz);
#else // !DEBUG
#define emitVarRefOffs 0