swift
aca0d835 - IRGen: generate static arrays in read-only data sections.

Commit
3 years ago
IRGen: generate static arrays in read-only data sections. So far, static arrays had to be put into a writable section, because the isa pointer and the (immortal) ref count field were initialized dynamically at the first use of such an array. But with a new runtime library, which exports the symbols for the (immortal) ref count field and the isa pointer, it's possible to put the whole array into a read-only section. I.e. make it a constant global. rdar://94185998
Author
Committer
Parents
Loading