[WinEH] Calculate state numbers for the new EH representation
[oota-llvm.git] / lib / CodeGen / AsmPrinter / WinException.h
index 669c9cc366ba5b8ae5f61f528b21523c859e52a1..7a80984c32ea9b04b6f4798f51bd1feade03dbc8 100644 (file)
@@ -18,9 +18,9 @@
 
 namespace llvm {
 class Function;
-class GlobalValue;
 class MachineFunction;
 class MCExpr;
+class Value;
 struct WinEHFuncInfo;
 
 class LLVM_LIBRARY_VISIBILITY WinException : public EHStreamer {
@@ -56,7 +56,7 @@ class LLVM_LIBRARY_VISIBILITY WinException : public EHStreamer {
                                      StringRef FLinkageName);
 
   const MCExpr *create32bitRef(const MCSymbol *Value);
-  const MCExpr *create32bitRef(const GlobalValue *GV);
+  const MCExpr *create32bitRef(const Value *V);
 
 public:
   //===--------------------------------------------------------------------===//