<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -268,19 +268,6 @@ llvm_builder_cast(VALUE self, VALUE rop, VALUE rv, VALUE rdest_ty) {
    return llvm_value_wrap(builder-&gt;CreateCast(op, v, dest_ty));
 }
 
-VALUE
-llvm_builder_int_to_ptr(VALUE self, VALUE ri, VALUE rtype) {
-  DATA_GET_BUILDER
-
-  Value *i;
-  Data_Get_Struct(ri, Value, i);
- 
-  const Type* type; 
-  Data_Get_Struct(rtype, Type, type);
-
-  return llvm_value_wrap(builder-&gt;CreateIntToPtr(i, type));
-}
-
 VALUE llvm_builder_int_cast(VALUE self, VALUE i, VALUE type, VALUE sign) {
   DATA_GET_BUILDER
   bool isSigned = (sign != Qnil &amp;&amp; sign != Qfalse);</diff>
      <filename>ext/llvm_basicblock.cpp</filename>
    </modified>
    <modified>
      <diff>@@ -112,7 +112,6 @@ VALUE llvm_builder_fcmp(VALUE, VALUE, VALUE, VALUE);
 VALUE llvm_builder_gep(VALUE, VALUE, VALUE);
 VALUE llvm_builder_struct_gep(VALUE, VALUE, VALUE);
 VALUE llvm_builder_cast(VALUE, VALUE, VALUE, VALUE);
-VALUE llvm_builder_int_to_ptr(VALUE, VALUE, VALUE);
 VALUE llvm_builder_int_cast(VALUE, VALUE, VALUE);
 VALUE llvm_builder_call(int, VALUE*, VALUE);
 VALUE llvm_builder_insert_element(VALUE, VALUE, VALUE, VALUE);
@@ -305,7 +304,6 @@ void Init_llvmruby() {
   rb_define_method(cLLVMBuilder, &quot;gep&quot;, llvm_builder_gep, 2);
   rb_define_method(cLLVMBuilder, &quot;struct_gep&quot;, llvm_builder_struct_gep, 2);
   rb_define_method(cLLVMBuilder, &quot;cast&quot;, llvm_builder_cast, 3);
-  rb_define_method(cLLVMBuilder, &quot;int_to_ptr&quot;, llvm_builder_int_to_ptr, 2);
   rb_define_method(cLLVMBuilder, &quot;int_cast&quot;, llvm_builder_int_cast, 3);
   rb_define_method(cLLVMBuilder, &quot;call&quot;, llvm_builder_call, -1);
   rb_define_method(cLLVMBuilder, &quot;insert_element&quot;, llvm_builder_insert_element, 3);</diff>
      <filename>ext/llvmruby.c</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>144bb46bded94648aaaf19c4bf686e1417579342</id>
    </parent>
  </parents>
  <author>
    <name>Tom Bagby</name>
    <email>tbagby@kosmix.com</email>
  </author>
  <url>http://github.com/tombagby/llvmruby/commit/e7fea89600ba497415baf61060671f5e981e784f</url>
  <id>e7fea89600ba497415baf61060671f5e981e784f</id>
  <committed-date>2008-12-24T15:24:16-08:00</committed-date>
  <authored-date>2008-12-24T15:24:16-08:00</authored-date>
  <message>remove superfluous special definition of int_to_ptr</message>
  <tree>c03b4aa968be82218f1ce9a7cac7ee72cb429a8d</tree>
  <committer>
    <name>Tom Bagby</name>
    <email>tbagby@kosmix.com</email>
  </committer>
</commit>
