diff options
Diffstat (limited to 'llvm/lib/Target/DirectX/CBufferDataLayout.cpp')
| -rw-r--r-- | llvm/lib/Target/DirectX/CBufferDataLayout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/DirectX/CBufferDataLayout.cpp b/llvm/lib/Target/DirectX/CBufferDataLayout.cpp index 41bb69b3d79c..3ebd7a2b54d2 100644 --- a/llvm/lib/Target/DirectX/CBufferDataLayout.cpp +++ b/llvm/lib/Target/DirectX/CBufferDataLayout.cpp @@ -95,7 +95,7 @@ LegacyCBufferLayout::getStructLayout(StructType *ST) { if (it != StructLayouts.end()) return it->second; - TypeSize Offset = TypeSize::Fixed(0); + TypeSize Offset = TypeSize::getFixed(0); LegacyStructLayout Layout; Layout.ST = ST; for (Type *EltTy : ST->elements()) { |
