summaryrefslogtreecommitdiff
path: root/src/vm/metasig.h
diff options
context:
space:
mode:
authorAhson Khan <ahkha@microsoft.com>2017-12-15 22:36:38 -0800
committerGitHub <noreply@github.com>2017-12-15 22:36:38 -0800
commit8ec9bdfd53220b555f0b19eebd6a2c4ab5dab8bf (patch)
tree1289799e79f64bd21eaa55c29d472ed6e1559888 /src/vm/metasig.h
parente2837daec1d3a32aa33942c11d5820b09caafc7b (diff)
downloadcoreclr-8ec9bdfd53220b555f0b19eebd6a2c4ab5dab8bf.tar.gz
coreclr-8ec9bdfd53220b555f0b19eebd6a2c4ab5dab8bf.tar.bz2
coreclr-8ec9bdfd53220b555f0b19eebd6a2c4ab5dab8bf.zip
Convert uses of the Dangerous APIs to use MemoryMarshal.GetReference (#15532)
* Convert uses of the Dangerous APIs to use MemoryMarshal.GetReference * Adding Unsafe.AsRef(in...) and using that for ReadOnlySpan GetReference * Fix typo - add missing bracket. * Change AsRef(ref...) to AsRef(in...) * Remove unnecessary whitespace * Remove Unsafe.AsRef(in...) and its uses. * Revert "Remove unnecessary whitespace" This reverts commit 4dbe38cae472e868f74afbabde358f3a7609f6ae. * Revert "Revert "Remove unnecessary whitespace"" This reverts commit 44d79483423ac9ffcf7c566b79d4a42c6aa15dac. * Remove extra space to fix formatting.
Diffstat (limited to 'src/vm/metasig.h')
-rw-r--r--src/vm/metasig.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/metasig.h b/src/vm/metasig.h
index 9976ed12f2..5fb4721221 100644
--- a/src/vm/metasig.h
+++ b/src/vm/metasig.h
@@ -282,7 +282,7 @@ DEFINE_METASIG(SM(RefFlt_RetFlt, r(f), f))
DEFINE_METASIG(SM(RefFlt_Flt, r(f) f, v))
DEFINE_METASIG(SM(RefDbl_RetDbl, r(d), d))
DEFINE_METASIG(SM(RefDbl_Dbl, r(d) d, v))
-DEFINE_METASIG(GM(RefT_RetT, IMAGE_CEE_CS_CALLCONV_DEFAULT, 1, r(M(0)) , M(0)))
+DEFINE_METASIG(GM(RefT_RetT, IMAGE_CEE_CS_CALLCONV_DEFAULT, 1, r(M(0)), M(0)))
DEFINE_METASIG(GM(RefT_T, IMAGE_CEE_CS_CALLCONV_DEFAULT, 1, r(M(0)) M(0), v))
DEFINE_METASIG(GM(RefByte_RetT, IMAGE_CEE_CS_CALLCONV_DEFAULT, 1, r(b), M(0)))