Skip to content

Commit

Permalink
Temporarily remove InstOpCode::length
Browse files Browse the repository at this point in the history
We temporarily remove this API because of a naming conflict in
`TR_X86OpCode` class. To avoid having to change the name of this
function for purposes of this work we simply temporarily delete the
API in `InstOpCode` base class until we have fully migrated
`TR_X86OpCode`, at which point we can reinstate the original API.
  • Loading branch information
fjeremic committed May 19, 2021
1 parent 368355e commit 36f0e3d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
6 changes: 0 additions & 6 deletions compiler/codegen/OMRInstOpCode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@

#include "compiler/codegen/InstOpCode.hpp"

uint8_t
OMR::InstOpCode::length(Mnemonic m)
{
return 0;
}

uint8_t *
OMR::InstOpCode::copyBinaryToBuffer(
Mnemonic m,
Expand Down
5 changes: 0 additions & 5 deletions compiler/codegen/OMRInstOpCode.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,6 @@ class InstOpCode

static int32_t getNumOpCodes() { return NumOpCodes; }

/*
* Length of the encoded binary representation of an opcode.
*/
static uint8_t length(Mnemonic m);

/*
* Copies the encoded binary representation of a given mnemonic to the
* provided buffer. This will copy at most length() bytes.
Expand Down

0 comments on commit 36f0e3d

Please sign in to comment.