From 184cc4ac60dc853fac3baa5e96d5f662d311b2fb Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 27 Jan 2006 22:38:36 +0000 Subject: [PATCH] initialize member vars git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25712 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Sparc/SparcSubtarget.cpp | 5 +++++ lib/Target/SparcV8/SparcV8Subtarget.cpp | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/lib/Target/Sparc/SparcSubtarget.cpp b/lib/Target/Sparc/SparcSubtarget.cpp index 5a08cd2bc4a..9666ea9d454 100644 --- a/lib/Target/Sparc/SparcSubtarget.cpp +++ b/lib/Target/Sparc/SparcSubtarget.cpp @@ -16,6 +16,11 @@ using namespace llvm; SparcV8Subtarget::SparcV8Subtarget(const Module &M, const std::string &FS) { + // Set the default features. + IsV9 = false; + V8DeprecatedInsts = false; + IsVIS = false; + // Determine default and user specified characteristics std::string CPU = "generic"; diff --git a/lib/Target/SparcV8/SparcV8Subtarget.cpp b/lib/Target/SparcV8/SparcV8Subtarget.cpp index 5a08cd2bc4a..9666ea9d454 100644 --- a/lib/Target/SparcV8/SparcV8Subtarget.cpp +++ b/lib/Target/SparcV8/SparcV8Subtarget.cpp @@ -16,6 +16,11 @@ using namespace llvm; SparcV8Subtarget::SparcV8Subtarget(const Module &M, const std::string &FS) { + // Set the default features. + IsV9 = false; + V8DeprecatedInsts = false; + IsVIS = false; + // Determine default and user specified characteristics std::string CPU = "generic"; -- 2.34.1