diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2014-07-13 03:06:39 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2014-07-13 03:06:39 +0000 |
commit | 762af96f4638a2e22b7446ad0d528d2d332e922f (patch) | |
tree | 7f27331bb1ecacc858d8a0baa72d835681a644bd /llvm/lib/Target/R600/AMDGPUMachineFunction.cpp | |
parent | 7d5e2cb09f20caa09c7afd6e29ed9598afbda71c (diff) | |
download | bcm5719-llvm-762af96f4638a2e22b7446ad0d528d2d332e922f.tar.gz bcm5719-llvm-762af96f4638a2e22b7446ad0d528d2d332e922f.zip |
R600: Make ShaderType private
llvm-svn: 212896
Diffstat (limited to 'llvm/lib/Target/R600/AMDGPUMachineFunction.cpp')
-rw-r--r-- | llvm/lib/Target/R600/AMDGPUMachineFunction.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/R600/AMDGPUMachineFunction.cpp b/llvm/lib/Target/R600/AMDGPUMachineFunction.cpp index 14171f46020..90af80113ec 100644 --- a/llvm/lib/Target/R600/AMDGPUMachineFunction.cpp +++ b/llvm/lib/Target/R600/AMDGPUMachineFunction.cpp @@ -10,9 +10,9 @@ static const char *const ShaderTypeAttribute = "ShaderType"; void AMDGPUMachineFunction::anchor() {} AMDGPUMachineFunction::AMDGPUMachineFunction(const MachineFunction &MF) : - MachineFunctionInfo() { - ShaderType = ShaderType::COMPUTE; - LDSSize = 0; + MachineFunctionInfo(), + ShaderType(ShaderType::COMPUTE), + LDSSize(0) { AttributeSet Set = MF.getFunction()->getAttributes(); Attribute A = Set.getAttribute(AttributeSet::FunctionIndex, ShaderTypeAttribute); |