[Sparc] Constification of TargetMachine arguments
authorJames Y Knight <jyknight@google.com>
Tue, 3 May 2016 14:57:18 +0000 (14:57 +0000)
committerJames Y Knight <jyknight@google.com>
Tue, 3 May 2016 14:57:18 +0000 (14:57 +0000)
commitef31eafbd14a87ebc768377eb3dce42d4230455c
tree338522b6814c68a3b8399d196910c1cd9a77444c
parentd8dfdfd26868cc351c41c8608502fd533168a862
[Sparc] Constification of TargetMachine arguments

This patch changes the TargetMachine arguments to be const. This is
required for {D19265}, and was requested to be done in a separate patch.

Patch by Jacob Hansen!

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

llvm-svn: 268389
llvm/lib/Target/Sparc/SparcISelLowering.cpp
llvm/lib/Target/Sparc/SparcISelLowering.h
llvm/lib/Target/Sparc/SparcSubtarget.cpp
llvm/lib/Target/Sparc/SparcSubtarget.h