summaryrefslogtreecommitdiff
path: root/src/jit/emit.h
diff options
context:
space:
mode:
authorMike Danes <onemihaid@hotmail.com>2017-10-28 11:15:41 +0300
committerMike Danes <onemihaid@hotmail.com>2017-10-28 11:15:41 +0300
commitba81d545fb9fd817d3b035fbfb540d90fba9d980 (patch)
treed4b80d9c382f57aa8016aaf1be0ead8b0572583d /src/jit/emit.h
parent5ee6a26901ccc48d79adb87aed73000f9b49f37d (diff)
downloadcoreclr-ba81d545fb9fd817d3b035fbfb540d90fba9d980.tar.gz
coreclr-ba81d545fb9fd817d3b035fbfb540d90fba9d980.tar.bz2
coreclr-ba81d545fb9fd817d3b035fbfb540d90fba9d980.zip
Add emitAnyConst
Like emitDataConst but returns CORINFO_FIELD_HANDLE, it's more useful in codegen. emitDataConst should probably be private.
Diffstat (limited to 'src/jit/emit.h')
-rw-r--r--src/jit/emit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jit/emit.h b/src/jit/emit.h
index 9092652afe..e438d85329 100644
--- a/src/jit/emit.h
+++ b/src/jit/emit.h
@@ -1710,6 +1710,7 @@ private:
UNATIVE_OFFSET emitInstCodeSz(instrDesc* id);
#ifndef LEGACY_BACKEND
+ CORINFO_FIELD_HANDLE emitAnyConst(const void* cnsAddr, unsigned cnsSize, bool dblAlign);
CORINFO_FIELD_HANDLE emitFltOrDblConst(double constValue, emitAttr attr);
regNumber emitInsBinary(instruction ins, emitAttr attr, GenTree* dst, GenTree* src);
regNumber emitInsTernary(instruction ins, emitAttr attr, GenTree* dst, GenTree* src1, GenTree* src2);