Skip to content

Commit

Permalink
Fatal assert any creation of nodes with deprecated constant opcodes
Browse files Browse the repository at this point in the history
Signed-off-by: Bohao(Aaron) Wang <aaronwang0407@gmail.com>
  • Loading branch information
wbh123456 committed Sep 23, 2019
1 parent 9948567 commit c9560db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compiler/il/OMRNode.hpp
Expand Up @@ -371,7 +371,8 @@ class OMR_EXTENSIBLE Node
TR::ILOpCodes DeprecatedUnsignedList [] =
{
TR::bucmpeq, TR::bucmpne, TR::iucmpeq ,TR::iucmpne ,TR::lucmpeq ,TR::lucmpne ,TR::sucmpeq ,TR::sucmpne, //Equality compare
TR::ifiucmpeq, TR::ifiucmpne, TR::iflucmpeq, TR::iflucmpne, TR::ifbucmpeq, TR::ifbucmpne, TR::ifsucmpeq, TR::ifsucmpne //Equality compare and branch
TR::ifiucmpeq, TR::ifiucmpne, TR::iflucmpeq, TR::iflucmpne, TR::ifbucmpeq, TR::ifbucmpne, TR::ifsucmpeq, TR::ifsucmpne, //Equality compare and branch
TR::buconst, TR::iuconst, TR::luconst, TR::cconst //Constant
};
int listSize = sizeof(DeprecatedUnsignedList)/sizeof(DeprecatedUnsignedList[0]);
for(int i = 0; i != listSize; i++)
Expand Down

0 comments on commit c9560db

Please sign in to comment.