ptx: bug fix: use after free
[oota-llvm.git] / lib / Target / PTX / PTXMCAsmInfo.cpp
1 //===-- PTXMCAsmInfo.cpp - PTX asm properties -----------------------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file contains the declarations of the PTXMCAsmInfo properties.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #include "PTXMCAsmInfo.h"
15
16 using namespace llvm;
17
18 PTXMCAsmInfo::PTXMCAsmInfo(const Target &T, const StringRef &TT) {
19   CommentString = "//";
20
21   PrivateGlobalPrefix = "$L__";
22
23   AllowPeriodsInName = false;
24
25   HasSetDirective = false;
26
27   HasDotTypeDotSizeDirective = false;
28
29   HasSingleParameterDotFile = false;
30 }