Skip to content

Commit

Permalink
Added -Xjit option TR_DisableImmutableFieldAliasing
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Langman <langman@ca.ibm.com>
  • Loading branch information
klangman committed Jan 10, 2020
1 parent aabbee9 commit 8e61171
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion compiler/control/OMROptions.cpp
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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"},
Expand Down
4 changes: 2 additions & 2 deletions compiler/control/OMROptions.hpp
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 8e61171

Please sign in to comment.