Skip to content
Commit 41b6a5a6 authored by Chris Lattner's avatar Chris Lattner
Browse files

Factor this code out into a few methods.

Implement the start of global ctor optimization.  It is currently smart
enough to remove the global ctor for cases like this:

struct foo {
  foo() {}
} x;

... saving a bit of startup time for the program.

llvm-svn: 23433
parent 9db3c91a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment