Skip to content

Commit

Permalink
Remove redundant entries from TR_S390LinkageConventions
Browse files Browse the repository at this point in the history
Now that this enum is removed, the redundant entries
introduced by this enum can be removed. This includes
TR_JavaHelper and TR_JavaPrivate which can be collapsed
into TR_Helper and TR_Private.

Signed-off-by: Dhruv Chopra <Dhruv.C.Chopra@ibm.com>
  • Loading branch information
dchopra001 committed Jan 4, 2021
1 parent ce0f8b1 commit d876abd
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion compiler/z/codegen/Linkage.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, 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
4 changes: 2 additions & 2 deletions compiler/z/codegen/OMRLinkage.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2000, 2020 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 @@ -102,7 +102,7 @@ extern bool storeHelperImmediateInstruction(TR::Node * valueChild, TR::CodeGener

OMR::Z::Linkage::Linkage(TR::CodeGenerator * codeGen)
: OMR::Linkage(codeGen),
_explicitLinkageType(TR_S390LinkageDefault), _stackSizeCheckNeeded(true), _raContextSaveNeeded(true),
_explicitLinkageType(TR_None), _stackSizeCheckNeeded(true), _raContextSaveNeeded(true),
_integerReturnRegister(TR::RealRegister::NoReg),
_floatReturnRegister(TR::RealRegister::NoReg),
_doubleReturnRegister(TR::RealRegister::NoReg),
Expand Down
2 changes: 1 addition & 1 deletion compiler/z/codegen/OMRLinkage.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2000, 2020 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
2 changes: 1 addition & 1 deletion compiler/z/codegen/SystemLinkage.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2000, 2020 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
4 changes: 2 additions & 2 deletions compiler/z/codegen/SystemLinkage.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2000, 2020 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 @@ -56,7 +56,7 @@ class SystemLinkage : public TR::Linkage
{
public:

SystemLinkage(TR::CodeGenerator * cg, TR_LinkageConventions elc = TR_S390LinkageDefault);
SystemLinkage(TR::CodeGenerator * cg, TR_LinkageConventions elc = TR_None);

TR::SystemLinkage * self();

Expand Down

0 comments on commit d876abd

Please sign in to comment.