mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Change errs() to dbgs().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92574 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f0dee89b02
commit
ad61b129ee
@ -13,6 +13,7 @@
|
|||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
#include "llvm/CodeGen/CallingConvLower.h"
|
#include "llvm/CodeGen/CallingConvLower.h"
|
||||||
|
#include "llvm/Support/Debug.h"
|
||||||
#include "llvm/Support/ErrorHandling.h"
|
#include "llvm/Support/ErrorHandling.h"
|
||||||
#include "llvm/Support/raw_ostream.h"
|
#include "llvm/Support/raw_ostream.h"
|
||||||
#include "llvm/Target/TargetRegisterInfo.h"
|
#include "llvm/Target/TargetRegisterInfo.h"
|
||||||
@ -69,7 +70,7 @@ CCState::AnalyzeFormalArguments(const SmallVectorImpl<ISD::InputArg> &Ins,
|
|||||||
ISD::ArgFlagsTy ArgFlags = Ins[i].Flags;
|
ISD::ArgFlagsTy ArgFlags = Ins[i].Flags;
|
||||||
if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this)) {
|
if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this)) {
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
errs() << "Formal argument #" << i << " has unhandled type "
|
dbgs() << "Formal argument #" << i << " has unhandled type "
|
||||||
<< ArgVT.getEVTString();
|
<< ArgVT.getEVTString();
|
||||||
#endif
|
#endif
|
||||||
llvm_unreachable(0);
|
llvm_unreachable(0);
|
||||||
@ -102,7 +103,7 @@ void CCState::AnalyzeReturn(const SmallVectorImpl<ISD::OutputArg> &Outs,
|
|||||||
ISD::ArgFlagsTy ArgFlags = Outs[i].Flags;
|
ISD::ArgFlagsTy ArgFlags = Outs[i].Flags;
|
||||||
if (Fn(i, VT, VT, CCValAssign::Full, ArgFlags, *this)) {
|
if (Fn(i, VT, VT, CCValAssign::Full, ArgFlags, *this)) {
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
errs() << "Return operand #" << i << " has unhandled type "
|
dbgs() << "Return operand #" << i << " has unhandled type "
|
||||||
<< VT.getEVTString();
|
<< VT.getEVTString();
|
||||||
#endif
|
#endif
|
||||||
llvm_unreachable(0);
|
llvm_unreachable(0);
|
||||||
@ -121,7 +122,7 @@ void CCState::AnalyzeCallOperands(const SmallVectorImpl<ISD::OutputArg> &Outs,
|
|||||||
ISD::ArgFlagsTy ArgFlags = Outs[i].Flags;
|
ISD::ArgFlagsTy ArgFlags = Outs[i].Flags;
|
||||||
if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this)) {
|
if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this)) {
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
errs() << "Call operand #" << i << " has unhandled type "
|
dbgs() << "Call operand #" << i << " has unhandled type "
|
||||||
<< ArgVT.getEVTString();
|
<< ArgVT.getEVTString();
|
||||||
#endif
|
#endif
|
||||||
llvm_unreachable(0);
|
llvm_unreachable(0);
|
||||||
@ -140,7 +141,7 @@ void CCState::AnalyzeCallOperands(SmallVectorImpl<EVT> &ArgVTs,
|
|||||||
ISD::ArgFlagsTy ArgFlags = Flags[i];
|
ISD::ArgFlagsTy ArgFlags = Flags[i];
|
||||||
if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this)) {
|
if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this)) {
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
errs() << "Call operand #" << i << " has unhandled type "
|
dbgs() << "Call operand #" << i << " has unhandled type "
|
||||||
<< ArgVT.getEVTString();
|
<< ArgVT.getEVTString();
|
||||||
#endif
|
#endif
|
||||||
llvm_unreachable(0);
|
llvm_unreachable(0);
|
||||||
@ -157,7 +158,7 @@ void CCState::AnalyzeCallResult(const SmallVectorImpl<ISD::InputArg> &Ins,
|
|||||||
ISD::ArgFlagsTy Flags = Ins[i].Flags;
|
ISD::ArgFlagsTy Flags = Ins[i].Flags;
|
||||||
if (Fn(i, VT, VT, CCValAssign::Full, Flags, *this)) {
|
if (Fn(i, VT, VT, CCValAssign::Full, Flags, *this)) {
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
errs() << "Call result #" << i << " has unhandled type "
|
dbgs() << "Call result #" << i << " has unhandled type "
|
||||||
<< VT.getEVTString();
|
<< VT.getEVTString();
|
||||||
#endif
|
#endif
|
||||||
llvm_unreachable(0);
|
llvm_unreachable(0);
|
||||||
@ -170,7 +171,7 @@ void CCState::AnalyzeCallResult(const SmallVectorImpl<ISD::InputArg> &Ins,
|
|||||||
void CCState::AnalyzeCallResult(EVT VT, CCAssignFn Fn) {
|
void CCState::AnalyzeCallResult(EVT VT, CCAssignFn Fn) {
|
||||||
if (Fn(0, VT, VT, CCValAssign::Full, ISD::ArgFlagsTy(), *this)) {
|
if (Fn(0, VT, VT, CCValAssign::Full, ISD::ArgFlagsTy(), *this)) {
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
errs() << "Call result has unhandled type "
|
dbgs() << "Call result has unhandled type "
|
||||||
<< VT.getEVTString();
|
<< VT.getEVTString();
|
||||||
#endif
|
#endif
|
||||||
llvm_unreachable(0);
|
llvm_unreachable(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user