From fa87fabc915b967f60c9f2ae40e0c5159a39adb7 Mon Sep 17 00:00:00 2001 From: Prakhar Date: Sun, 8 Nov 2020 00:44:12 +0530 Subject: [PATCH] Resolving build error for build 17528 Update SystemLinkageLinux.cpp line 409 `cg()` to `this->cg()` Issue: #5594 Signed-off-by: Prakhar Yadav --- compiler/z/codegen/SystemLinkageLinux.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/z/codegen/SystemLinkageLinux.cpp b/compiler/z/codegen/SystemLinkageLinux.cpp index 97c08f83114..6415e211fbe 100644 --- a/compiler/z/codegen/SystemLinkageLinux.cpp +++ b/compiler/z/codegen/SystemLinkageLinux.cpp @@ -406,7 +406,7 @@ TR::S390zLinuxSystemLinkage::generateInstructionsForCall(TR::Node* callNode, TR: TR::CodeGenerator * cg = this->cg(); TR::RegisterDependencyConditions * postDeps = new (trHeapMemory()) - TR::RegisterDependencyConditions(NULL, deps->getPostConditions(), 0, deps->getAddCursorForPost(), cg()); + TR::RegisterDependencyConditions(NULL, deps->getPostConditions(), 0, deps->getAddCursorForPost(), this->cg()); TR::Register * systemReturnAddressRegister = deps->searchPostConditionRegister(getReturnAddressRegister());