From d8683b4411b007eb2614b7e4cb7147b5bfce6e15 Mon Sep 17 00:00:00 2001 From: Eugene Rozenfeld Date: Wed, 10 Feb 2016 15:50:41 -0800 Subject: [PATCH] Small correction for #3067. The code to change multiplication to shift shouldn't be under LEA_AVAILABLE since the code to process multiplication by power of 2 isn't. --- src/jit/morph.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/jit/morph.cpp b/src/jit/morph.cpp index ba1e0da..8243d7a 100644 --- a/src/jit/morph.cpp +++ b/src/jit/morph.cpp @@ -10839,7 +10839,7 @@ CM_ADD_OP: changeToShift = true; } } - +#endif // LEA_AVAILABLE if (changeToShift) { // vnStore is null before the ValueNumber phase has run @@ -10855,7 +10855,6 @@ CM_ADD_OP: goto DONE_MORPHING_CHILDREN; } -#endif // LEA_AVAILABLE } else if (fgOperIsBitwiseRotationRoot(oper)) { -- 2.7.4