Skip to content

Commit

Permalink
Alias TR_X86OpCodes with OMR::InstOpCode::Mnemonic
Browse files Browse the repository at this point in the history
We also introduce a new file temporarily to make the transition easier.
This new file `#define` all the existing global scoped mnemonics to map
to their `OMR::InstOpCode::Mnemonic` equivalents. We will eventually get
rid of this file as we migrate instructions from the global scope.
  • Loading branch information
fjeremic committed May 19, 2021
1 parent 54ca99b commit 23cc13b
Show file tree
Hide file tree
Showing 4 changed files with 2,074 additions and 8 deletions.
1 change: 0 additions & 1 deletion compiler/x/codegen/InstOpCode.hpp
Expand Up @@ -32,7 +32,6 @@ class InstOpCode: public OMR::InstOpCodeConnector
public:
InstOpCode() : OMR::InstOpCodeConnector(bad) {}
InstOpCode(TR::InstOpCode::Mnemonic m): OMR::InstOpCodeConnector(m) {}
InstOpCode(TR_X86OpCodes op): OMR::InstOpCodeConnector(op) {}
};
}

Expand Down

0 comments on commit 23cc13b

Please sign in to comment.