1 mar 2009 kl. 10.51 skrev Mike Stump: > On Feb 28, 2009, at 5:09 PM, Anders Carlsson wrote: >> + // Check if the block can be global. >> + if (CanBlockBeGlobal(Info)) >> + return CGM.GetAddrOfGlobalBlock(BE, Name.c_str()); > > Like the last change, this also breaks things that were working. :- > ( Please, monotonic improvements only please. We lazily create > imports during codegen and your code doesn't account for that.
I think it is better to just use one code path for creating global blocks. I added code to look up imports beforehand. Anders _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
