Skip to content

Commit

Permalink
Change self() to protected in OMR::Method
Browse files Browse the repository at this point in the history
Signed-off-by: Abhi <abhiasawale510@gmail.com>
  • Loading branch information
AAbhiJ committed Feb 25, 2021
1 parent 7a2411b commit 0db12fe
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions compiler/compile/OMRMethod.hpp
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2000, 2019 IBM Corp. and others
* Copyright (c) 2000, 2021 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 @@ -118,8 +118,6 @@ class Method

TR_ALLOC(TR_Memory::Method);

TR::Method *self();

enum Type {J9, Test, JitBuilder};


Expand Down Expand Up @@ -173,6 +171,10 @@ class Method
void setRecognizedMethod(TR::RecognizedMethod rm) { _recognizedMethod = rm; }
void setMandatoryRecognizedMethod(TR::RecognizedMethod rm) { _mandatoryRecognizedMethod = rm; }

protected:

TR::Method *self();

private:

TR::RecognizedMethod _recognizedMethod;
Expand Down

0 comments on commit 0db12fe

Please sign in to comment.