diff options
author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2015-06-15 19:29:44 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2015-06-15 19:29:44 +0000 |
commit | baeb678a9120a1b9e9db781b1a7c96e4a14cda9a (patch) | |
tree | f7976c0bfde2162f0a951d74a1929e94b6648445 /llvm/lib/CodeGen/FaultMaps.cpp | |
parent | e25147626c8035b56c5c6e86af9e14b6f1a12169 (diff) | |
download | bcm5719-llvm-baeb678a9120a1b9e9db781b1a7c96e4a14cda9a.tar.gz bcm5719-llvm-baeb678a9120a1b9e9db781b1a7c96e4a14cda9a.zip |
Unbreak the build from r239740.
Do not re-use an enum name as a field name. Some bots don't like this.
llvm-svn: 239746
Diffstat (limited to 'llvm/lib/CodeGen/FaultMaps.cpp')
-rw-r--r-- | llvm/lib/CodeGen/FaultMaps.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/FaultMaps.cpp b/llvm/lib/CodeGen/FaultMaps.cpp index 2f849511d69..0512ff95d1b 100644 --- a/llvm/lib/CodeGen/FaultMaps.cpp +++ b/llvm/lib/CodeGen/FaultMaps.cpp @@ -25,7 +25,7 @@ const char *FaultMaps::WFMP = "Fault Maps: "; FaultMaps::FaultMaps(AsmPrinter &AP) : AP(AP) {} -void FaultMaps::recordFaultingOp(FaultType FaultTy, +void FaultMaps::recordFaultingOp(FaultKind FaultTy, const MCSymbol *HandlerLabel) { MCContext &OutContext = AP.OutStreamer->getContext(); MCSymbol *FaultingLabel = OutContext.createTempSymbol(); @@ -89,8 +89,8 @@ void FaultMaps::emitFunctionInfo(const MCSymbol *FnLabel, for (auto &Fault : FFI) { DEBUG(dbgs() << WFMP << " fault type: " - << faultTypeToString(Fault.FaultType) << "\n"); - OS.EmitIntValue(Fault.FaultType, 4); + << faultTypeToString(Fault.Kind) << "\n"); + OS.EmitIntValue(Fault.Kind, 4); DEBUG(dbgs() << WFMP << " faulting PC offset: " << *Fault.FaultingOffsetExpr << "\n"); @@ -103,7 +103,7 @@ void FaultMaps::emitFunctionInfo(const MCSymbol *FnLabel, } -const char *FaultMaps::faultTypeToString(FaultMaps::FaultType FT) { +const char *FaultMaps::faultTypeToString(FaultMaps::FaultKind FT) { switch (FT) { default: llvm_unreachable("unhandled fault type!"); |