[Function] Clean up {prefix,prologue} data routines (NFC)
authorVedant Kumar <vsk@apple.com>
Tue, 6 Oct 2015 20:31:57 +0000 (20:31 +0000)
committerVedant Kumar <vsk@apple.com>
Tue, 6 Oct 2015 20:31:57 +0000 (20:31 +0000)
commit30c5e43964388ab63d45b6a94556cbafafb01c57
treee5a73755db3b07da1a34663e33bbe138ae6df946
parent7d21fd604ed59ab911617a400f2a77f9022f7861
[Function] Clean up {prefix,prologue} data routines (NFC)

Factor out some common code used to get+set function prefix/prologue
data. This may come in handy if we ever decide to store personality
functions in the same way we store prefix/prologue data.

Differential Revision: http://reviews.llvm.org/D13120

Reviewed-by: bogner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249460 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/Function.cpp
lib/IR/LLVMContextImpl.h