diff --git a/hphp/runtime/base/type_variant.cpp b/hphp/runtime/base/type_variant.cpp index 5b1c1bc71..ab55ddc93 100644 --- a/hphp/runtime/base/type_variant.cpp +++ b/hphp/runtime/base/type_variant.cpp @@ -49,8 +49,6 @@ static void unserializeProp(VariableUnserializer *uns, CStrRef context, CStrRef realKey, int nProp) NEVER_INLINE; -IMPLEMENT_SMART_ALLOCATION_HOT(Variant); - /////////////////////////////////////////////////////////////////////////////// // static strings diff --git a/hphp/runtime/base/type_variant.h b/hphp/runtime/base/type_variant.h index 68f7295a5..da4e31c5d 100644 --- a/hphp/runtime/base/type_variant.h +++ b/hphp/runtime/base/type_variant.h @@ -726,11 +726,10 @@ class Variant : private TypedValue { */ Variant share(bool save) const; - /** - * Memory allocator methods. + /* + * Print information about a variant to stdout. For debugging + * purposes. */ - DECLARE_SMART_ALLOCATION(Variant); - void dump() const; /**