From cbb70ce070d220642b038ea101d9c0f9fbf860d6 Mon Sep 17 00:00:00 2001 From: dim Date: Sun, 20 Feb 2011 12:57:14 +0000 Subject: Vendor import of llvm trunk r126079: http://llvm.org/svn/llvm-project/llvm/trunk@126079 --- lib/Transforms/Hello/Hello.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lib/Transforms/Hello/Hello.cpp') diff --git a/lib/Transforms/Hello/Hello.cpp b/lib/Transforms/Hello/Hello.cpp index 838d550..b0e22de 100644 --- a/lib/Transforms/Hello/Hello.cpp +++ b/lib/Transforms/Hello/Hello.cpp @@ -37,7 +37,7 @@ namespace { } char Hello::ID = 0; -INITIALIZE_PASS(Hello, "hello", "Hello World Pass", false, false); +static RegisterPass X("hello", "Hello World Pass"); namespace { // Hello2 - The second implementation with getAnalysisUsage implemented. @@ -60,6 +60,5 @@ namespace { } char Hello2::ID = 0; -INITIALIZE_PASS(Hello2, "hello2", - "Hello World Pass (with getAnalysisUsage implemented)", - false, false); +static RegisterPass +Y("hello2", "Hello World Pass (with getAnalysisUsage implemented)"); -- cgit v1.1