refactor code to be static functions instead of methods on AsmPrinter.
authorChris Lattner <sabre@nondot.org>
Tue, 19 Jan 2010 19:10:44 +0000 (19:10 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 19 Jan 2010 19:10:44 +0000 (19:10 +0000)
commit91093ecf0fed6f007e08f1a4531cdb6f438672a2
treefd839eef7ada87f26d407ad20efd03c136446b8c
parent8a6d7ac88f8b0f37c8c1f134efb39a0725394719
refactor code to be static functions instead of methods on AsmPrinter.
This fixes some bugs handling address spaces.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93891 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/AsmPrinter.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp