Skip to content

dmd.target: Change size field types from uint to ubyte#12535

Merged
thewilsonator merged 2 commits intodlang:masterfrom
ibuclaw:target-sizes
May 19, 2021
Merged

dmd.target: Change size field types from uint to ubyte#12535
thewilsonator merged 2 commits intodlang:masterfrom
ibuclaw:target-sizes

Conversation

@ibuclaw
Copy link
Member

@ibuclaw ibuclaw commented May 19, 2021

Type size fields are unlikely to be any value greater than 32. The ClassInfo size has been fixed at 152 for decades.

@ibuclaw ibuclaw added the Severity:Refactoring No semantic changes to code label May 19, 2021
@ibuclaw ibuclaw requested a review from WalterBright May 19, 2021 07:07
@ibuclaw ibuclaw requested review from MartinNowak and kinke as code owners May 19, 2021 07:07
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @ibuclaw!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + dmd#12535"

@thewilsonator
Copy link
Contributor

seems that #12454 was not enough

@thewilsonator thewilsonator merged commit 1786096 into dlang:master May 19, 2021
@ibuclaw ibuclaw deleted the target-sizes branch May 19, 2021 09:41
@ibuclaw
Copy link
Member Author

ibuclaw commented May 19, 2021

seems that #12454 was not enough

Hmm, ping @WalterBright then. Do we know how memory hungry the program is? Or does it just trigger timeout on dmd.

@thewilsonator
Copy link
Contributor

Not sure, I think the assert was tripped, not OOM so maybe that was just a random failure?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merge:auto-merge Severity:Refactoring No semantic changes to code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments