Sun May 11 14:56:27 CEST 2003 Paolo Molaro <lupus@ximian.com>
[mono.git] / mono / mini / ChangeLog
1
2 Sun May 11 14:56:27 CEST 2003 Paolo Molaro <lupus@ximian.com>
3
4         * inssel-long32.brg, basic-long.cs, exceptions.cs: handle
5         a couple of missing operations for long casts, with test cases.
6
7 2003-05-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8
9         * exceptions-x86.c: fixed small leaks in mono_arch_handle_exception.
10
11 2003-05-09  Dietmar Maurer  <dietmar@ximian.com>
12
13         * mini-x86.c (mono_arch_emit_prolog): avoid reallocs with better
14         code size estimation.
15
16 2003-05-08  Dietmar Maurer  <dietmar@ximian.com>
17
18         * mini.c (mono_jit_create_remoting_trampoline): make it work with
19         abstract methods (fix bug 42542)
20
21         * aot.c: add ability to handle array types
22         
23 2003-05-08  Zoltan Varga  <vargaz@freemail.hu>
24
25         * mini.c: Call the _specific versions of the object allocation
26         functions if possible.
27
28 Tue May 6 17:18:33 CEST 2003 Paolo Molaro <lupus@ximian.com>
29
30         * driver.c: call setlocale ().
31
32 Tue May 6 14:38:22 CEST 2003 Paolo Molaro <lupus@ximian.com>
33
34         * mini.h, mini.c, aot.c, debug-mini.c, exceptions.c: build fixes for
35         windows build.
36
37 2003-05-05  Dietmar Maurer  <dietmar@ximian.com>
38
39         * mini.c (optimize_branches): dont touch code inside exception clauses (fix bug 38136)
40
41         * exceptions-x86.c (ves_icall_get_frame_info): also skip remoting
42         wrappers (fix bug 42122)
43
44 2003-05-04  Martin Baulig  <martin@ximian.com>
45
46         * mini.h (mono_jit_init, mono_jit_cleanup): Added prototypes.
47
48         * driver.c: s/MONO_OPT_SAHRED/MONO_OPT_SHARED/g.
49         s/mini_set_defaults/mono_set_defaults/g.
50
51         * Makefile.am: Install mini.h, regalloc.h and mini-ops.h.
52
53 2003-05-04  Martin Baulig  <martin@ximian.com>
54
55         * driver.c: s/mini_parse_default_optimizations/mono_parse_default_optimizations/g.
56
57 Sun May 4 11:48:08 CEST 2003 Paolo Molaro <lupus@ximian.com>
58
59         * inssel-long32.brg: add missing lreg: OP_LCONV_TO_U8 (lreg) rule
60         (reported by Don Roberts).
61
62 Fri May 2 18:36:45 CEST 2003 Paolo Molaro <lupus@ximian.com>
63
64         * mini.c: temporarily work around two bugs for this release.
65
66 Fri May 2 17:37:29 CEST 2003 Paolo Molaro <lupus@ximian.com>
67
68         * Makefile.am: avoid linking libmono with GMODULE_LIBS, because
69         that contains -export-dynamic and it makes using the ld script
70         useless.
71         * mini.h, main.c, driver.c: s/mini_main/mono_main/g.
72
73 Fri May 2 12:52:32 CEST 2003 Paolo Molaro <lupus@ximian.com>
74
75         * mini.h, mini-x86.c, driver.c: disable optimizations not available on a
76         specific cpu.
77
78 Thu May 1 15:28:21 CEST 2003 Paolo Molaro <lupus@ximian.com>
79
80         * mini.c: make sure leave calls all the needed finally blocks,
81         even when the target jumps out of multiple exception clauses.
82
83 Thu May 1 15:18:26 CEST 2003 Paolo Molaro <lupus@ximian.com>
84
85         * ldscript, Makefile.am: add linker script to reduce the number of
86         exported symbols (should also fix the issues with libwine defining
87         some of the same symbols in io-layer).
88
89 2003-05-01  Zoltan Varga  <vargaz@freemail.hu>
90
91         * driver.c (mini_main): Avoid assertion when no file name is given on 
92         the command line.
93
94 Wed Apr 30 15:33:11 CEST 2003 Paolo Molaro <lupus@ximian.com>
95
96         * driver.c: added --version/-V command line option.
97         Added the inline optimization in the regression tests.
98
99 Wed Apr 30 15:16:02 CEST 2003 Paolo Molaro <lupus@ximian.com>
100
101         * mini.c, basic-calls.cs: when inlining, save arguments to locals according 
102         to the type in the method signature (fixes bug#42134).
103
104 Wed Apr 30 12:38:44 CEST 2003 Paolo Molaro <lupus@ximian.com>
105
106         * mini.c: when inlining, check this is not null only when needed (bug #42135).
107
108 Wed Apr 30 11:44:36 CEST 2003 Paolo Molaro <lupus@ximian.com>
109
110         * mini-ppc.h, tramp-pcc.c: type fixes from Max Horn <max@quendi.de>.
111
112 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
113
114         * driver.c: fixed bug #42100.
115
116 2003-04-29  Dietmar Maurer  <dietmar@ximian.com>
117
118         * mini.c (mono_method_to_ir): UNBOX need to CAST objects first
119
120 Mon Apr 28 17:03:14 CEST 2003 Paolo Molaro <lupus@ximian.com>
121
122         * mini.c: moved most of the code required to do inlining to its own
123         function so it can be reused. Inline also ctors if appropriate.
124
125 2003-04-28  Zoltan Varga  <vargaz@freemail.hu>
126
127         * Makefile.am: Link with -export-dynamic so shared libs loaded by
128         the runtime can call mono API functions.
129
130 2003-04-27  Martin Baulig  <martin@ximian.com>
131
132         * debug-mini.c (mono_debug_init_method): Added
133         `guint32 breakpoint_id' argument; if the method has a breakpoint,
134         send a notification to the debugger.
135
136         * mini.c (mono_method_to_ir): Don't insert a breakpoint if we're
137         running in the Mono Debugger, just pass the breakpoint number to
138         mono_debug_init_method().
139
140         * tramp-x86.c, tramp-ppc.c: Removed the breakpoint trampolines.
141
142 Sun Apr 27 13:18:04 CEST 2003 Paolo Molaro <lupus@ximian.com>
143
144         * mini.c: allow some more unsafe compares.
145
146 Sat Apr 26 11:55:41 CEST 2003 Paolo Molaro <lupus@ximian.com>
147
148         * mini-x86.c, Makefile.am: make distcheck works (partially from
149         a patch by Richard Lee <r.h.lee@attbi.com>).
150         * regset.c, regset.h: removed, they are unused.
151
152 2003-04-25  Dick Porter  <dick@ximian.com>
153
154         * driver.c: Usage reports the name as 'mono' not 'mini'
155         * exceptions-x86.c: Build and run on freebsd
156
157 Thu Apr 24 17:09:03 CEST 2003 Paolo Molaro <lupus@ximian.com>
158
159         * Makefile.am: install the program with the 'mono' name and
160         the library as libmono instead of mini and libmini.
161
162 Thu Apr 24 17:08:07 CEST 2003 Paolo Molaro <lupus@ximian.com>
163
164         * driver.c: provide the APIs for the embedding interface of the old jit.
165
166 2003-04-23  Dietmar Maurer  <dietmar@ximian.com>
167
168         * jit-icalls.c (helper_stelem_ref): impl. (fix bug 41775)
169
170 2003-04-23  Martin Baulig  <martin@ximian.com>
171
172         * tramp-x86.c, tramp-ppc.c: Reenable the debugger breakpoint interface.
173
174         * driver.c: Added `--debug' command line argument to enable
175         debugging support.
176
177 2003-04-23  Martin Baulig  <martin@ximian.com>
178
179         * debug.[ch]: Removed.  The code is now in
180         ../metadata/mono-debug.[ch] and mono-debug-debugger.[ch].
181
182         * debug-stabs.c, debug-dwarf2.c: Removed; nobody used this for the
183         last six months.
184
185 2003-04-22  Dietmar Maurer  <dietmar@ximian.com>
186
187         * mini.c (mono_method_to_ir): set the cil_code address (fix bug 41525)
188
189 2003-04-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
190
191         * mini.c:
192         (mini_cleanup): moved mono_runtime_cleanup call after the call to
193         mono_domain_finalize.
194         (mini_method_compile): use mono_method_profile* if the the option is
195         enabled.
196
197 2003-04-17  Zoltan Varga  <vargaz@freemail.hu>
198
199         * tramp-x86.c (mono_arch_create_jit_trampoline): Subsitute synchronized
200         methods with their wrapper.
201
202         * tramp-ppc.c (mono_arch_create_jit_trampoline): Subsitute synchronized
203         methods with their wrapper.
204
205         * jit-icalls.c (mono_ldvirtfn): Subsitute synchronized methods with
206         their wrapper.
207
208         * mini.c (mono_method_to_ir): Subsitute synchronized methods with their
209         wrapper.
210
211         * mini.c (mono_method_check_inlining): Avoid inlining synchronized
212         methods.
213
214 2003-04-17  Dietmar Maurer  <dietmar@ximian.com>
215
216         * exceptions-x86.c (mono_arch_handle_exception): fix for bug 36252
217
218 2003-04-16  Dietmar Maurer  <dietmar@ximian.com>
219
220         * mini.c (mono_compile_create_var): use g_malloc/g_realloc instead
221         of the mempool. This is slightly faster and uses less memory
222
223 Wed Apr 16 12:53:10 CEST 2003 Paolo Molaro <lupus@ximian.com>
224
225         * mini.c: avoid O(n) allocation for variables.
226
227 Tue Apr 15 19:13:41 CEST 2003 Paolo Molaro <lupus@ximian.com>
228
229         * mini.c: handle items on the stack after inlining methods.
230
231 Tue Apr 15 14:17:57 CEST 2003 Paolo Molaro <lupus@ximian.com>
232
233         * mini.c: make the method->opcode optimization dependent
234         on MONO_OPT_INSTRINS and do it lazily.
235
236 Tue Apr 15 14:15:39 CEST 2003 Paolo Molaro <lupus@ximian.com>
237
238         * driver.c: print overall results at the end of regression run.
239
240 Tue Apr 15 11:18:46 CEST 2003 Paolo Molaro <lupus@ximian.com>
241
242         * inssel.brg: don't overwrite symbolic registers.
243
244 Mon Apr 14 17:41:34 CEST 2003 Paolo Molaro <lupus@ximian.com>
245
246         * inssel-x86.brg: fix conversion from long to float.
247
248 2003-04-11  Dietmar Maurer  <dietmar@ximian.com>
249
250         * mini.c (mini_init): use an opcode for get_Chars (OP_GETCHR)
251
252 2003-04-10  Zoltan Varga  <vargaz@freemail.hu>
253
254         * mini.c (mono_type_blittable): MONO_TYPE_OBJECT is blittable.
255
256         * driver.c: Added --print-vtable option as in the old JIT.
257
258 Thu Apr 10 17:43:49 CEST 2003 Paolo Molaro <lupus@ximian.com>
259
260         * inssel-long32.brg, exceptions.cs: fix conversions from long, too.
261
262 Thu Apr 10 16:27:43 CEST 2003 Paolo Molaro <lupus@ximian.com>
263
264         * inssel.brg, basic.cs: fixed checked conversions to byte and short.
265
266 2003-04-09  Zoltan Varga  <vargaz@freemail.hu>
267
268         * mini.c regalloc.c regalloc.h: Fix memory leak.
269
270 2003-04-09  Dietmar Maurer  <dietmar@ximian.com>
271
272         * aot.c (mono_aot_get_method): register all used strings
273
274 Wed Apr 9 15:22:18 CEST 2003 Paolo Molaro <lupus@ximian.com>
275
276         * mini.c: always intern strings references with ldstr at compile time.
277
278 Tue Apr 8 11:41:26 CEST 2003 Paolo Molaro <lupus@ximian.com>
279
280         * Makefile.am: add BUILT_SOURCES.
281
282 Mon Apr 7 16:31:34 CEST 2003 Paolo Molaro <lupus@ximian.com>
283
284         * driver.c: give a better error message when the assembly to execute
285         doesn't have an entry point.
286
287 2003-04-07  Dietmar Maurer  <dietmar@ximian.com>
288
289         * Makefile.am: added hack for automake
290
291         * mono/mini/mini.c (mono_save_args): always copy arguments to keep
292         correct sematics.
293
294         * mono/mini/ssa.c (mono_ssa_avoid_copies): don't optimize calls
295
296 22003-04-07  Martin Baulig  <martin@ximian.com>
297
298         * Makefile.am: Added Makefile.am.
299
300         * debugger-main.c: Removed, this is now in the debugger where it
301         belongs.
302
303         * mini.pc.in: Call this package `mini' for the moment.
304
305