diff options
author | Sergey Andreenko <seandree@microsoft.com> | 2019-04-10 12:29:46 -0700 |
---|---|---|
committer | Sergey Andreenko <seandree@microsoft.com> | 2019-04-10 12:29:46 -0700 |
commit | 696a3edc3cc3bcbcf083673996f67828562af056 (patch) | |
tree | 7f0bf95127f592eeda9437b090693b36769f65de | |
parent | 0ee00c31e61abb61863fd865d96f0c1536f04927 (diff) | |
download | coreclr-696a3edc3cc3bcbcf083673996f67828562af056.tar.gz coreclr-696a3edc3cc3bcbcf083673996f67828562af056.tar.bz2 coreclr-696a3edc3cc3bcbcf083673996f67828562af056.zip |
Update the comment.
-rw-r--r-- | src/jit/assertionprop.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/jit/assertionprop.cpp b/src/jit/assertionprop.cpp index 85df205497..1b48491e73 100644 --- a/src/jit/assertionprop.cpp +++ b/src/jit/assertionprop.cpp @@ -2485,14 +2485,11 @@ GenTree* Compiler::optVNConstantPropOnTree(BasicBlock* block, GenTree* tree) case TYP_REF: { assert(vnStore->ConstantValue<size_t>(vnCns) == 0); + // Support onle ref(ref(0)), do not support other forms (e.g byref(ref(0)). if (tree->TypeGet() == TYP_REF) { conValTree = gtNewIconNode(0, TYP_REF); } - else - { - // Do not support such optimization (e.g byref(ref(0)). - } } break; |