projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
141a27a
)
Fix const string literal warning
author
Andy Ayers
<andya@microsoft.com>
Tue, 9 Feb 2016 16:46:16 +0000
(08:46 -0800)
committer
Andy Ayers
<andya@microsoft.com>
Tue, 9 Feb 2016 16:46:16 +0000
(08:46 -0800)
This came up during an FI from LLVM, testing LLILC, see microsoft/llvmdotnet/coreclr#140 .
Commit migrated from https://github.com/dotnet/coreclr/commit/
49ee4ba1398aa71ad494e94099d75a7c830b6fe9
src/coreclr/src/jit/flowgraph.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/src/jit/flowgraph.cpp
b/src/coreclr/src/jit/flowgraph.cpp
index
47e3b5c
..
e95a8db
100644
(file)
--- a/
src/coreclr/src/jit/flowgraph.cpp
+++ b/
src/coreclr/src/jit/flowgraph.cpp
@@
-4631,7
+4631,7
@@
DECODE_OPCODE:
//Consider making this only for not force inline.
if (compIsForInlining())
{
- c
har *
message;
+ c
onst char*
message;
#ifdef DEBUG
message = (char*)compAllocator->nraAlloc(128);
sprintf((char*)message, "Unsupported opcode for inlining: %s\n",