<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -7,12 +7,6 @@ class Class
     raise RuntimeError, &quot;primitive 'class_allocate' failed on #{self.inspect}&quot;
   end
 
-  # HACK remove me when super() works in allocate
-  def __allocate__
-    Ruby.primitive :class_allocate
-    raise RuntimeError, &quot;primitive 'class_allocate' failed on #{self.inspect}&quot;
-  end
-
   def new(*args)
     obj = allocate()
 </diff>
      <filename>kernel/bootstrap/class.rb</filename>
    </modified>
    <modified>
      <diff>@@ -109,7 +109,7 @@ class Hash
   # @bins is the vector of storage for the bucket chains.
   #++
   def self.allocate
-    h = __allocate__ # super()
+    h = super()
 
     # We don't need the nanny checking our symbols
     h.send :set_instance_variable, :@records, MIN_SIZE</diff>
      <filename>kernel/bootstrap/hash.rb</filename>
    </modified>
    <modified>
      <diff>@@ -14,8 +14,7 @@ class String
   attr_accessor :encoding
 
   def self.allocate
-    # HACK use super()
-    str = String.__allocate__
+    str = super()
     str.data = ByteArray.new(1)
     str.num_bytes = 0
     str.characters = 0
@@ -24,8 +23,7 @@ class String
   end
 
   def self.from_bytearray(ba, count)
-    # HACK use allocate when super() works
-    str = String.__allocate__
+    str = super()
     str.data = ba
     str.num_bytes = count
     return str</diff>
      <filename>kernel/common/string.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f21c747df4102a19b3b3eefe70441b542d18f75e</id>
    </parent>
  </parents>
  <author>
    <name>Brian Ford</name>
    <email>bford@engineyard.com</email>
  </author>
  <url>http://github.com/evanphx/rubinius/commit/9a1fca2b6b7f08a6fef72dd7c663a6518c83a25e</url>
  <id>9a1fca2b6b7f08a6fef72dd7c663a6518c83a25e</id>
  <committed-date>2008-09-05T15:03:33-07:00</committed-date>
  <authored-date>2008-09-05T15:03:33-07:00</authored-date>
  <message>Removed __allocate__ hacks used to get around super().</message>
  <tree>452cae6001000f984eb4a68d4b9a49183f5f3488</tree>
  <committer>
    <name>Brian Ford</name>
    <email>bford@engineyard.com</email>
  </committer>
</commit>
