Debug Info: according to DWARF 2, FORM_ref_addr the same size as an address on
[oota-llvm.git] / lib / CodeGen / AsmPrinter / DIE.h
index c332aa2a7db66e90349e2654eb3ee6588f5a1289..8d68fd595fab2d10f096ab1e5d79d47a54ed4d9e 100644 (file)
@@ -336,9 +336,7 @@ namespace llvm {
 
     /// SizeOf - Determine size of debug information entry in bytes.
     ///
-    virtual unsigned SizeOf(AsmPrinter *AP, unsigned Form) const {
-      return sizeof(int32_t);
-    }
+    virtual unsigned SizeOf(AsmPrinter *AP, unsigned Form) const;
 
     // Implement isa/cast/dyncast.
     static bool classof(const DIEValue *E) { return E->getType() == isEntry; }