Open PushkarBettadpur opened 4 years ago
Agreed that this shouldn't be a perform transformation (though the code calling to create it should have the overall transform guarded properly). This should become a dumpOptDetails line to report that the node is set as an internal pointer in the log to ease debugging.
At present, transformations to mark nodes as internal pointers are guarded in
setIsInternalPointer
with the following:While the return value of this guard is determined by developer controlled options/flags such as
lastOptSubIndex, lastOptTransformationIndex, TR_TraceNodeFlags, TR_TraceOptDetails and TR_CountOptTransformations
, based on our current knowledge, it is hard to envision a scenario wherein the program would remain functionally correct after callingsetIsInternalPointer
and failing to set the flag as desired.This issue is to address and track the (likely) elimination of this guard.