mirror of
https://github.com/RPCS3/llvm.git
synced 2026-01-31 01:25:19 +01:00
Also update a comment about the usage of RegisterTarget() that didn't mention the new argument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318441 91177308-0d34-0410-b5e6-96231b3b80d8
23 lines
637 B
C++
23 lines
637 B
C++
//===- ARCTargetInfo.cpp - ARC Target Implementation ----------- *- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "ARC.h"
|
|
#include "llvm/Support/TargetRegistry.h"
|
|
|
|
using namespace llvm;
|
|
|
|
Target &llvm::getTheARCTarget() {
|
|
static Target TheARCTarget;
|
|
return TheARCTarget;
|
|
}
|
|
|
|
extern "C" void LLVMInitializeARCTargetInfo() {
|
|
RegisterTarget<Triple::arc> X(getTheARCTarget(), "arc", "ARC", "ARC");
|
|
}
|