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:
5461901
)
fix compilation compilation error without ready to run.
author
Sergey Andreenko
<seandree@microsoft.com>
Wed, 19 Oct 2016 16:37:55 +0000
(09:37 -0700)
committer
Sergey Andreenko
<seandree@microsoft.com>
Wed, 19 Oct 2016 16:37:55 +0000
(09:37 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/
7e51701cf141dacd8e1426dfc1b90118fedb5d39
src/coreclr/src/jit/importer.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/src/jit/importer.cpp
b/src/coreclr/src/jit/importer.cpp
index
2f5bc44
..
8c1f97b
100644
(file)
--- a/
src/coreclr/src/jit/importer.cpp
+++ b/
src/coreclr/src/jit/importer.cpp
@@
-5779,6
+5779,7
@@
GenTreePtr Compiler::impImportStaticFieldAccess(CORINFO_RESOLVED_TOKEN* pResolve
}
case CORINFO_FIELD_STATIC_READYTORUN_HELPER:
{
+#ifdef FEATURE_READYTORUN_COMPILER
noway_assert(opts.IsReadyToRun());
CORINFO_GENERICHANDLE_RESULT embedInfo;
info.compCompHnd->embedGenericHandle(pResolvedToken, FALSE, &embedInfo);
@@
-5798,6
+5799,9
@@
GenTreePtr Compiler::impImportStaticFieldAccess(CORINFO_RESOLVED_TOKEN* pResolve
op1->gtCall.setEntryPoint(pFieldInfo->fieldLookup);
break;
+#else
+ unreached();
+#endif // FEATURE_READYTORUN_COMPILER
}
default:
{