From 9d2ee9d11bcb56482a686c9496bdc88123576963 Mon Sep 17 00:00:00 2001 From: sunnycase Date: Thu, 19 Jul 2018 16:05:40 +0800 Subject: [PATCH] Fix opinfo: InlineR should only read 8 bytes (dotnet/coreclr#18801) Commit migrated from https://github.com/dotnet/coreclr/commit/c7b1a09a2e59c2a46792207e69c60676a9377a34 --- src/coreclr/src/utilcode/opinfo.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/coreclr/src/utilcode/opinfo.cpp b/src/coreclr/src/utilcode/opinfo.cpp index 60da660..0494155 100644 --- a/src/coreclr/src/utilcode/opinfo.cpp +++ b/src/coreclr/src/utilcode/opinfo.cpp @@ -99,7 +99,6 @@ AGAIN: break; case InlineR: { __int64 d = GET_UNALIGNED_VAL64(instrPtr); instrPtr +=8; - instrPtr += 8; args->r = *((double*) (&d)); } break; case InlineSwitch: -- 2.7.4