-
Notifications
You must be signed in to change notification settings - Fork 396
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable PPC TOC if TR_DisableTOC option is set
This commit makes the allocateChunk and lookup methods inside the TR_PPCTableOfConstants class return PTOC_FULL_INDEX if the TR_DisableTOC compiler option is set. Doing so will prevent the power code generator from ever generating code that uses the TOC, effectively disabling the TOC. Adding this option here allows downstream projects to easily disable TOC when needed. Signed-off-by: Dhruv Chopra <Dhruv.C.Chopra@ibm.com>
- Loading branch information
1 parent
7ea1fec
commit 78dfb26
Showing
3 changed files
with
15 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters