2009-04-10 Zoltan Varga <vargaz@gmail.com>
authorZoltan Varga <vargaz@gmail.com>
Fri, 10 Apr 2009 13:18:04 +0000 (13:18 -0000)
committerZoltan Varga <vargaz@gmail.com>
Fri, 10 Apr 2009 13:18:04 +0000 (13:18 -0000)
* dwarfwriter.c (emit_type): Emit byref to reference types as 'int' for now.

svn path=/trunk/mono/; revision=131468

mono/mini/ChangeLog
mono/mini/dwarfwriter.c

index a8fe7958403dd9e231e9027b1e156f1291332255..164953b82ea5dc2fcf604c7110678758361e2d0c 100644 (file)
@@ -1,5 +1,7 @@
 2009-04-10  Zoltan Varga  <vargaz@gmail.com>
 
+       * dwarfwriter.c (emit_type): Emit byref to reference types as 'int' for now.
+
        * decompose.c (mono_decompose_opcode): Make this return a MonoInst*
        representing the result of the decomposition. Nullify instructions
        instead of setting them to OP_NOP since nops can't have registers
index 4b3880809f2992a67d5e001eb10eae382e62ad3e..91afa785c9fe60f24eacea5dad7aa0be75afca21 100644 (file)
@@ -952,8 +952,7 @@ emit_type (MonoDwarfWriter *w, MonoType *t)
                }
                else {
                        tdie = emit_class_dwarf_info (w, klass, FALSE);
-                       if (tdie)
-                               return g_hash_table_lookup (w->class_to_reference_die, klass);
+                       /* Should return a pointer type to a reference */
                }
                // FIXME:
                t = &mono_defaults.int_class->byval_arg;