mycoboco / beluga

a standard C compiler (with an integrated preprocessor)
http://code.woong.org/beluga
Other
65 stars 8 forks source link

introduce cfg with basic blocks #138

Open mycoboco opened 5 years ago

mycoboco commented 5 years ago

To adopt optimizations, a cfg with basic blocks as nodes is necessary. Its construction and some types of dfa problems should belong to the front-end because warnings such as a use of uninitialized variables depend on the cfg.