Skip to content

Commit 07ef5ca

Browse files
authored
Revert "Use TR_UNIMPLEMENTED macro in JIT"
1 parent 2f10c29 commit 07ef5ca

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

runtime/compiler/optimizer/IdiomRecognition.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -6644,7 +6644,8 @@ TR_CISCTransformer::analyzeBoolTable(TR_BitVector **bv, TR::TreeTop **retSameExi
66446644
ntakenBV -= tmpBV;
66456645
break;
66466646
default:
6647-
TR_UNIMPLEMENTED();
6647+
TR_ASSERT(false, "not implemented yet");
6648+
// not implemented yet
66486649
return false;
66496650
}
66506651

@@ -6780,7 +6781,7 @@ TR_CISCTransformer::analyzeByteBoolTable(TR_CISCNode *boolTable, uint8_t *table2
67806781
defBV.setAll( 0+BYTEBVOFFSET, 255+BYTEBVOFFSET);
67816782
break;
67826783
default:
6783-
TR_UNIMPLEMENTED();
6784+
TR_ASSERT(false, "not implemented yet");
67846785
// not implemented yet
67856786
return -1; // error
67866787
}
@@ -6866,7 +6867,7 @@ TR_CISCTransformer::analyzeCharBoolTable(TR_CISCNode *boolTable, uint8_t *table6
68666867
defBV.setAll(0, 65535);
68676868
break;
68686869
default:
6869-
TR_UNIMPLEMENTED();
6870+
TR_ASSERT(false, "not implemented yet");
68706871
// not implemented yet
68716872
return -1; // error
68726873
}

runtime/compiler/optimizer/IdiomTransformations.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -4992,7 +4992,7 @@ CISCTransform2TRTOArray(TR_CISCTransformer *trans)
49924992
}
49934993
else
49944994
{
4995-
TR_UNIMPLEMENTED();
4995+
TR_ASSERT(false, "Not implemented yet");
49964996
}
49974997
}
49984998
}

runtime/compiler/runtime/JITServerIProfiler.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ JITServerIProfiler::profilingSample(uintptr_t pc, uintptr_t data, bool addIt, bo
163163
if (addIt)
164164
return NULL; // Server should not create any samples
165165

166-
TR_UNIMPLEMENTED();
166+
TR_ASSERT(false, "not implemented for JITServer");
167167
return NULL;
168168
}
169169

runtime/compiler/z/codegen/S390CHelperLinkage.hpp

+6-6
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ class CHelperLinkage : public TR::Linkage
5050

5151
CHelperLinkage(TR::CodeGenerator * cg, TR_S390LinkageConventions elc=TR_JavaHelper, TR_LinkageConventions lc=TR_CHelper);
5252

53-
virtual void createPrologue(TR::Instruction * cursor) { TR_UNIMPLEMENTED(); }
54-
virtual void createEpilogue(TR::Instruction * cursor) { TR_UNIMPLEMENTED(); }
53+
virtual void createPrologue(TR::Instruction * cursor) { TR_ASSERT(false, "Not Implemented"); }
54+
virtual void createEpilogue(TR::Instruction * cursor) { TR_ASSERT(false, "Not Implemented"); }
5555

5656
virtual void setParameterLinkageRegisterIndex(TR::ResolvedMethodSymbol * method)
5757
{
@@ -63,10 +63,10 @@ class CHelperLinkage : public TR::Linkage
6363
TR_ASSERT_FATAL(false, "CHelperLinkage should only be used for call-outs");
6464
}
6565

66-
virtual void mapStack(TR::ResolvedMethodSymbol *symbol) { TR_UNIMPLEMENTED(); }
67-
virtual void mapSingleAutomatic(TR::AutomaticSymbol *p, uint32_t &stackIndex) { TR_UNIMPLEMENTED(); }
68-
virtual bool hasToBeOnStack(TR::ParameterSymbol * parm) { TR_UNIMPLEMENTED(); return false; }
69-
virtual void initS390RealRegisterLinkage() { TR_UNIMPLEMENTED(); }
66+
virtual void mapStack(TR::ResolvedMethodSymbol *symbol) { TR_ASSERT(false, "Not Implemented"); }
67+
virtual void mapSingleAutomatic(TR::AutomaticSymbol *p, uint32_t &stackIndex) { TR_ASSERT(false, "Not Implemented"); }
68+
virtual bool hasToBeOnStack(TR::ParameterSymbol * parm) { TR_ASSERT(false, "Not Implemented"); return false; }
69+
virtual void initS390RealRegisterLinkage() { TR_ASSERT(false, "Not Implemented"); }
7070
virtual TR::RealRegister::RegNum setMethodMetaDataRegister(TR::RealRegister::RegNum r) { return _methodMetaDataRegister = r; }
7171
virtual TR::RealRegister::RegNum getMethodMetaDataRegister() { return _methodMetaDataRegister; }
7272
virtual TR::RealRegister::RegNum setReturnAddressRegister(TR::RealRegister::RegNum r) { return _returnAddressRegister = r; }

0 commit comments

Comments
 (0)