re PR regression/50999 (g++.dg/lto/20081109 execute -O2 -flto -flto-partition=1to1...
[gcc.git] / libobjc / objects.c
index 75eea2d5a058fc4953b362184380fe010444e7db..fe11062835b05e928b085c7f846255d0e00b7d41 100644 (file)
@@ -1,5 +1,5 @@
 /* GNU Objective C Runtime class related functions
-   Copyright (C) 1993, 1995, 1996, 2009 Free Software Foundation, Inc.
+   Copyright (C) 1993, 1995, 1996, 2009, 2010 Free Software Foundation, Inc.
    Contributed by Kresten Krab Thorup
 
 This file is part of GCC.
@@ -66,12 +66,6 @@ class_createInstance (Class class, size_t extraBytes)
 }
 
 /* Traditional GNU Objective-C Runtime API.  */
-id
-class_create_instance (Class class)
-{
-  return class_createInstance (class, 0);
-}
-
 id
 object_copy (id object, size_t extraBytes)
 {
@@ -122,9 +116,3 @@ object_setClass (id object, Class class_)
       return old_class;
     }
 }
-
-/* Hook functions for memory allocation and disposal.  Deprecated and
-   currently unused.  */
-id (*_objc_object_alloc) (Class)   = 0;
-id (*_objc_object_dispose) (id)    = 0;
-id (*_objc_object_copy) (id)       = 0;