diff options
author | Paolo Molaro <lupus@oddwiz.org> | 2003-07-18 15:27:33 +0400 |
---|---|---|
committer | Paolo Molaro <lupus@oddwiz.org> | 2003-07-18 15:27:33 +0400 |
commit | 3eb19d5c1d4fe5d7c69b36b8740ef691ce9e47e6 (patch) | |
tree | 18d64c4dc86f1690f442890511c6bacc823ee782 | |
parent | 0e226477f8fdf11b64bd46d7a414ccf51afee4b8 (diff) |
Fri Jul 18 13:16:18 CEST 2003 Paolo Molaro <lupus@ximian.com>
* aot.c, mini.c: updates for array type representation changes.
svn path=/trunk/mono/; revision=16395
-rw-r--r-- | mono/mini/ChangeLog | 4 | ||||
-rw-r--r-- | mono/mini/aot.c | 2 | ||||
-rw-r--r-- | mono/mini/mini.c | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/mono/mini/ChangeLog b/mono/mini/ChangeLog index 10cd9a7f3e8..3603d017f9e 100644 --- a/mono/mini/ChangeLog +++ b/mono/mini/ChangeLog @@ -1,4 +1,8 @@ +Fri Jul 18 13:16:18 CEST 2003 Paolo Molaro <lupus@ximian.com> + + * aot.c, mini.c: updates for array type representation changes. + Fri Jul 18 11:28:28 CEST 2003 Paolo Molaro <lupus@ximian.com> * mini.c: register function to perform jit shutdown. diff --git a/mono/mini/aot.c b/mono/mini/aot.c index 230796eb513..8316f9c1ebe 100644 --- a/mono/mini/aot.c +++ b/mono/mini/aot.c @@ -54,7 +54,7 @@ decode_class_info (gpointer *data) return mono_class_get (image, (guint32)data [0]); } else { klass = decode_class_info (data [3]); - return mono_array_class_get (&klass->byval_arg, (guint32)data [2]); + return mono_array_class_get (klass, (guint32)data [2]); } return NULL; diff --git a/mono/mini/mini.c b/mono/mini/mini.c index 181aa151dfe..3cffcd3a3f2 100644 --- a/mono/mini/mini.c +++ b/mono/mini/mini.c @@ -5337,8 +5337,7 @@ decompose_foreach (MonoInst *tree, gpointer data) info = newarr_info; } else { - MonoVTable *vtable = mono_class_vtable (cfg->domain, - mono_array_class_get (&tree->inst_newa_class->byval_arg, 1)); + MonoVTable *vtable = mono_class_vtable (cfg->domain, mono_array_class_get (tree->inst_newa_class, 1)); NEW_PCONST (cfg, iargs [0], vtable); iargs [1] = tree->inst_newa_len; |