From 8e61171d2afc9edd0d6a7b1d37054b39eba0f61b Mon Sep 17 00:00:00 2001 From: Kevin Langman Date: Fri, 10 Jan 2020 16:27:52 -0500 Subject: [PATCH] Added -Xjit option TR_DisableImmutableFieldAliasing Signed-off-by: Kevin Langman --- compiler/control/OMROptions.cpp | 3 ++- compiler/control/OMROptions.hpp | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/compiler/control/OMROptions.cpp b/compiler/control/OMROptions.cpp index b7c5689a5f3..65f4eb3ec51 100644 --- a/compiler/control/OMROptions.cpp +++ b/compiler/control/OMROptions.cpp @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2019 IBM Corp. and others + * Copyright (c) 2000, 2020 IBM Corp. and others * * This program and the accompanying materials are made available under * the terms of the Eclipse Public License 2.0 which accompanies this @@ -355,6 +355,7 @@ TR::OptionTable OMR::Options::_jitOptions[] = { TR::Options::setRegex, offsetof(OMR::Options, _disabledIdiomPatterns), 0, "P"}, {"disableIdiomRecognition", "O\tdisable idiom recognition", TR::Options::disableOptimization, idiomRecognition, 0, "P"}, #endif + {"disableImmutableFieldAliasing", "O\tdisable final field aliasing for boxed primative objects (i.e. Integer.value).", SET_OPTION_BIT(TR_DisableImmutableFieldAliasing), "P"}, {"disableIncrementalCCR", "O\tdisable incremental ccr", SET_OPTION_BIT(TR_DisableIncrementalCCR), "F" ,NOT_IN_SUBSET}, {DisableInlineCheckCastString, "O\tdisable CheckCast inline fast helper", SET_OPTION_BIT(TR_DisableInlineCheckCast) , "F"}, diff --git a/compiler/control/OMROptions.hpp b/compiler/control/OMROptions.hpp index 4f2b9b75f3c..7bca636f461 100644 --- a/compiler/control/OMROptions.hpp +++ b/compiler/control/OMROptions.hpp @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2019 IBM Corp. and others + * Copyright (c) 2000, 2020 IBM Corp. and others * * This program and the accompanying materials are made available under * the terms of the Eclipse Public License 2.0 which accompanies this @@ -271,7 +271,7 @@ enum TR_CompilationOptions // Option word 6 // TR_EnableAggressiveLoopVersioning = 0x00000020 + 6, - // Available = 0x00000040 + 6, + TR_DisableImmutableFieldAliasing = 0x00000040 + 6, TR_CompileBit = 0x00000080 + 6, TR_WaitBit = 0x00000100 + 6, TR_DisableZ14 = 0x00000200 + 6,