<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -8,33 +8,6 @@ module Orange
     PCHAR = Type.pointer(Type::Int8Ty)
     INT   = Type::Int32Ty
     
-    class Value
-      STRUCT = LLVM::Type.struct([INT, INT, PCHAR])
-      TYPES  = [:int, :string, :ptr]
-      attr_reader :type, :value, :ptr
-      
-      def initialize(value, type)
-        @value = value
-        @type = type
-      end
-      
-      def alloc(b)
-        struct = b.alloca(STRUCT, 0)
-        v = b.struct_gep(struct, 0)
-        b.store(TYPES.index(@type).llvm, v)
-        v = case @type
-        when :int:    b.struct_gep(struct, 1)
-        when :string: b.struct_gep(struct, 2)
-        end
-        b.store(@value, v)
-        @ptr = struct
-      end
-      
-      def load_str(b)
-        
-      end
-    end
-    
     def initialize(mod = LLVM::Module.new(&quot;orange&quot;), function=nil)
       @module   = mod
       @locals   = {}</diff>
      <filename>lib/orange/generator.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>fa1f10e879253b152dcf3fb17522bb3037d95faf</id>
    </parent>
  </parents>
  <author>
    <name>macournoyer</name>
    <email>macournoyer@gmail.com</email>
  </author>
  <url>http://github.com/macournoyer/orange/commit/35e4c43ed104b0d0258318f517d4e874ad05c81b</url>
  <id>35e4c43ed104b0d0258318f517d4e874ad05c81b</id>
  <committed-date>2008-10-23T21:01:21-07:00</committed-date>
  <authored-date>2008-10-23T21:01:21-07:00</authored-date>
  <message>Revert change on generator for now, that was not supposed to be commited</message>
  <tree>14589815e7ff4df3c17b5a59aade65ef4cb14111</tree>
  <committer>
    <name>macournoyer</name>
    <email>macournoyer@gmail.com</email>
  </committer>
</commit>
