Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable initTOC call when disableTOC option is enabled
Previously, TR_PPCTableOfConstants::initTOC would be called even if the disableTOC option was enabled, causing memory to be allocated for the pTOC even if it was disabled. This call is now guarded by a check of this option. Co-authored-by: Julian Wang <zlwang@ca.ibm.com> Signed-off-by: Ben Thomas <ben@benthomas.ca>
- Loading branch information