Commit Graph

11048 Commits

Author SHA1 Message Date
pierre
cd7040b19e * try to solve bug report 2102 part B 2002-09-03 06:31:13 +00:00
michael
bddbfae551 + Applied patch from Matthias Gaertner to stream booleans 2002-09-03 06:02:57 +00:00
pierre
aba4bcb655 * fix compilation without DEBUG conditional 2002-09-03 05:45:39 +00:00
florian
32f8902edc * another ppc syscall fix 2002-09-02 20:42:22 +00:00
florian
7d0cfc8482 * ppc syscall code fixed 2002-09-02 20:03:20 +00:00
florian
f2393f7316 * fixed line breaks 2002-09-02 19:46:37 +00:00
peter
a17291b2d4 * array of char support for Str() 2002-09-02 19:24:41 +00:00
peter
36481b72bb * insert PASCALMAIN in library for Win32 only 2002-09-02 18:46:26 +00:00
peter
88dce133e4 * reuse a reference when resizing ordinal values to smaller sizes,
this is required for constructions like byte(w):=1 that are
    allowed in tp mode only
2002-09-02 18:46:00 +00:00
peter
c850b953c0 * fixed (not) pushing of empty parameters
* fixed implicit initialization/finalization generation
  * fixed/optimized local copy of value arguments init/final
2002-09-02 18:44:48 +00:00
peter
24384c648b * moved genrtti.inc code to rtti
* removed rttip.inc, the generic code is almost as fast and
    much easier to maintain and has less risks on bugs
2002-09-02 18:42:41 +00:00
peter
8a75d59544 * fixed parsing of register names with lowercase 2002-09-02 18:40:52 +00:00
florian
b5e2c87b87 * fixed generic procedure variable calling 2002-09-02 11:25:20 +00:00
pierre
b5ce52f87d * fix web bug report 2099 2002-09-02 10:33:37 +00:00
pierre
a9f7d35c69 * fix problems with breakpoint lists 2002-09-02 10:18:09 +00:00
Jonas Maebe
ce868dcdac + a_call_reg()
* small fix in a_call_ref()
2002-09-02 10:14:51 +00:00
pierre
7e29d3feeb + new test code for go32v2 graphic screen saves (only with -dDEBUG) 2002-09-02 09:29:55 +00:00
pierre
d1c1c11f34 * avoid 100 CPU usage when AltF5 is used 2002-09-02 09:27:35 +00:00
Jonas Maebe
c7df12f6f0 * fixed range error 2002-09-02 06:09:02 +00:00
michael
aca945888e + Fix for formatbuf not applied correct 2002-09-02 06:07:16 +00:00
florian
6502638258 * several powerpc related stuff fixed 2002-09-01 21:04:47 +00:00
peter
f77536fece * use index register when available for generating a reference with
only a signle register. Using the base register could possibly
    destroy the framepointer
2002-09-01 19:27:34 +00:00
peter
a73ecec989 * fixed register variable loading from parasymtable, the call by
reference code was moved wrong
2002-09-01 19:26:32 +00:00
florian
8fbb716b82 + powerpc support added 2002-09-01 19:03:19 +00:00
peter
b590b0165e * add check 2002-09-01 18:53:11 +00:00
peter
5a06f334b7 * fixed maybe_save that did not support a reference with only
a index register. It now also updates the location with the new
    base register only
2002-09-01 18:50:20 +00:00
peter
274624f2f6 * assignn check in exitnode changed to use a separate boolean as the
assignn can be changed to a calln
2002-09-01 18:47:00 +00:00
peter
76bd75ed4a * fixed generic tcgvecnode
* move code that updates a reference with index register and multiplier
    to separate method so it can be overriden for scaled indexing
  * i386 uses generic tcgvecnode
2002-09-01 18:46:01 +00:00
peter
d2400aae38 * cleanup of tvecnode.det_resulttype
* move 0 element of string access check to resulttype
2002-09-01 18:44:17 +00:00
peter
5ab0e99252 * include accumulator in regs_to_push list 2002-09-01 18:43:27 +00:00
peter
b65dedc9e4 * reduced level of comment that type is wrong for release 2002-09-01 18:42:50 +00:00
florian
3546ffa8b0 + added abstract tcg.g_removevaluepara_openarray 2002-09-01 17:05:43 +00:00
peter
093aa5193e * updates to compile with kylix
* fixed some tests
2002-09-01 14:45:54 +00:00
peter
c003f63790 * renamed conditional to insert optimized mod_qword for i386. The
code is broken
2002-09-01 14:44:01 +00:00
peter
90308521d5 * fixed direct assembler for i386 2002-09-01 14:43:12 +00:00
peter
a4e309d6ae * removevaluepara added to fix the stackpointer so restoring of
saved registers works
2002-09-01 14:42:41 +00:00
peter
7d02a4f264 * increase refcount in exit(arg) for arg 2002-09-01 14:41:47 +00:00
daniel
f4c6d762fd - write_access fields removed in favor of a flag 2002-09-01 13:28:37 +00:00
peter
e0bcfca509 * fixed loading of procvar of object when the object is initialized
with 0
2002-09-01 12:15:40 +00:00
peter
8b2fb4187e * fixed some wrong levels in extdebug comments 2002-09-01 12:14:53 +00:00
peter
8ee2462ba4 * remove debug line
* containself methods can be called directly
2002-09-01 12:14:15 +00:00
peter
a06f84daf8 * use a_call_reg
* ungetiftemp for procvar of object temp
2002-09-01 12:13:00 +00:00
peter
f68c3a9552 * calc param_offset after parameters are read, because the calculation
depends on po_containself
2002-09-01 12:11:33 +00:00
peter
7898dcf9ed + a_call_reg, a_call_loc added
* removed exprasmlist references
2002-09-01 12:09:27 +00:00
daniel
b0ffb45275 + Added read/write notifications of variables. These will be usefull
for providing information for several optimizations. For example
   the value of the loop variable of a for loop does matter is the
   variable is read after the for loop, but if it's no longer used
   or written, it doesn't matter and this can be used to optimize
   the loop code generation.
2002-09-01 08:04:42 +00:00
daniel
4b82d30953 * Removed sets from Tcallnode.det_resulttype
+ Added read/write notifications of variables. These will be usefull
   for providing information for several optimizations. For example
   the value of the loop variable of a for loop does matter is the
   variable is read after the for loop, but if it's no longer used
   or written, it doesn't matter and this can be used to optimize
   the loop code generation.
2002-09-01 08:01:16 +00:00
Jonas Maebe
431b9fac81 * fixed a_call_ref (it should load ctr, not lr) 2002-08-31 21:38:02 +00:00
florian
391ce796ef * fixed several problems caused by Jonas' commit :) 2002-08-31 21:30:45 +00:00
florian
c8a3171dc9 * several PC related fixes 2002-08-31 21:29:57 +00:00
Jonas Maebe
f107ba3bbe + support top_none for branches 2002-08-31 19:27:48 +00:00