Commit Graph

389 Commits

Author SHA1 Message Date
Viktor Szakats
e149fd7efb 20000424-03:44 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-24 10:34:29 +00:00
Viktor Szakats
9e7e8924d9 20000424-03:44 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-24 01:41:26 +00:00
Ryszard Glab
d46faa5837 ChangeLog 200423-19:10 GMT+1 2000-04-23 17:06:17 +00:00
Ryszard Glab
b8dd37e8f6 ChangeLog 20000423-18:18 GMT+1 2000-04-23 16:15:14 +00:00
Viktor Szakats
51405db289 20000423-15:57 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-23 13:58:32 +00:00
Viktor Szakats
f9b6cb23a2 20000423-06:09 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-23 04:06:29 +00:00
Ron Pinkas
6871362ad5 20000422-20:40 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/hvm.c
     - Removed pOptimized from hb_compOptimizeJumps() which now uses memmove() and thus more effective.
     * Renamed hb_compFixReturns() to hb_compFinalizeFunction().

   * source/compiler/harbour.y
     * Renamed call to hb_compFixReturns() to hb_compFinalizeFunction().
2000-04-23 03:45:26 +00:00
Viktor Szakats
523eb5e21d 20000423-04:02 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-23 01:59:52 +00:00
Viktor Szakats
a110bc7ea0 20000423-03:24 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-23 01:21:21 +00:00
Viktor Szakats
7140870656 20000422-22:47 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-22 20:44:26 +00:00
Viktor Szakats
2d7f222ed0 20000422-21:36 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-22 19:33:37 +00:00
Viktor Szakats
28a4c0837e 20000422-20:37 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-22 18:34:36 +00:00
Viktor Szakats
12fcab20d5 20000422-18:41 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-22 16:38:48 +00:00
Viktor Szakats
09bb6f21b2 20000422-16:16 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-22 14:13:56 +00:00
Ryszard Glab
da278bc7ca ChangeLog 20000422-13:50 GTM+1 2000-04-22 11:35:46 +00:00
Antonio Linares
e4e0ace845 20000422-10:19 GMT+1 2000-04-22 08:18:34 +00:00
Ron Pinkas
220b114c3e 20000421-14:20 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/hvm.c
     + Added support for new PCodes HB_P_PUSHBYTE, and HB_P_PUSHONE
     + Added void hb_vmPushOne( void ), void hb_vmPushZero( void ) and void hb_vmPushByte( BYTE )
     * Optimized HB_P_ZERO by using hb_vmPushZero()

   * source/compiler/harbour.c
     - REMMED not used hb_compGenPushInteger()
     * Optimized hb_compGenPushLong() to USE HB_P_ZERO, HB_P_ONE, HB_P_PUSHBBYTE, HB_P_PUSHBINT, or , HB_P_PUSHLONG as needed.
     * Optimized few pairs of hb_compGenPCode1() to use hb_compGenPCode2() instead.

   * source/compiler/genc.c
     + Added support for PCodes HB_P_PUSHBYTE, and HB_P_PUSHONE

   * source/compiler/hbpcode.c
     + Added hb_compGenPCode2( BYTE, BYTE )

   * source/compiler/harbour.y
     * Optimized few pairs of hb_compGenPCode1() to use hb_compGenPCode2() instead.

   * source/include/hbpcode.h
     + Added PCodes HB_P_PUSHBYTE, and HB_P_PUSHONE

   * source/include/hbvm.h
     + Added:
        extern void    hb_vmPushOne( void ); /* pushes a 0 onto the stack */
        extern void    hb_vmPushZero( void ); /* pushes a 1 onto the stack */
        extern void    hb_vmPushByte( BYTE bNumber ); /* pushes a integer number onto the stack */

   * include/hbcomp.h
     - Removed #ifef of GenObj32
2000-04-21 21:51:21 +00:00
Antonio Linares
de517ca69e 20000421-10:09 2000-04-21 08:08:34 +00:00
Ron Pinkas
84c34d5733 20000420-23:15 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/cmdcheck.c
     - Removed #ifdef HARBOUR_OBJ_GENERATION

   * source/compiler/genhrb.c
     - Removed unused vars wVar and wLen.

   * source/compiler/genjava.c
     - Removed unused vars wVar and wLen.

   * source/compiler/genobj32.c
     - Removed #ifdef HARBOUR_OBJ_GENERATION

   * source/compiler/harbour.c
     - Removed #ifdef HARBOUR_OBJ_GENERATION
2000-04-21 06:20:38 +00:00
Ron Pinkas
9e13451dde 20000420-20:10 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.c
     + Added hb_compOptimizeFrames() - Resolves and or removes HB_P_FRAME & HB_P_SFRAME.
     * Modified hb_compFixReturns() to call hb_compOptimizeFrames()

   * source/compiler/genc.c
     - Removed the SWITCH LOOP from hb_compGenCCompact()

   * source/compiler/genhrb.c
     - Removed the SWITCH LOOP from hb_compGenCCompact()

   * source/compiler/genjava.c
     - Removed the SWITCH LOOP from hb_compGenCCompact()

   * source/compiler/genobj32.c
     - Removed the SWITCH LOOP from hb_compGenCCompact()
2000-04-21 03:22:00 +00:00
Viktor Szakats
e327eca7ee 20000421-00:34 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-20 22:31:42 +00:00
Viktor Szakats
caac685f3e 20000420-23:58 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-20 21:56:17 +00:00
Viktor Szakats
95cc9edc73 20000420-23:33 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-20 21:44:42 +00:00
Viktor Szakats
503b9a920e 20000420-23:33 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-20 21:41:47 +00:00
Ron Pinkas
44768efedd 20000420-11:15 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/hausage.c
     * Added "\n          %cj[0|1]          Jump Optimizer 0=Disabled 1=Enabled (default)",

   * Changelog
     * Corrected JAMP to JUMP in previous change entries.
2000-04-20 18:15:12 +00:00
Ryszard Glab
1c92b6ed14 ChangeLog 20000420-13:46 GMT+1 2000-04-20 11:29:47 +00:00
Antonio Linares
fb52d9ce89 20000420-13:08 2000-04-20 11:07:24 +00:00
Ryszard Glab
a14bd974c9 ChangeLog 20000419-18:40 GMT+1 2000-04-19 16:29:42 +00:00
Antonio Linares
ea6aadadd0 20000419-15:57 2000-04-19 13:57:13 +00:00
Antonio Linares
2bc7d8fcdb 20000419-12:12 2000-04-19 10:11:18 +00:00
Paul Tucker
d020f613ed 20000418-22:40 DST 2000-04-19 02:33:46 +00:00
Ron Pinkas
7360ca8f8b 20000418-18:35 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.c
     * Modified hb_compCodeBlockEnd() to call hb_compOptimizeJumps() and release pNOOPs and pJumps pointers.
2000-04-19 01:38:18 +00:00
Antonio Linares
87ba123aa1 20000418-17:32 2000-04-18 15:31:42 +00:00
Ron Pinkas
68f8243cbe 20000419-05:30 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/hvm.c
     + Added PCodes HB_P_JAMPSHORT, HB_P_JAMPSHORTFALSE and HB_P_JAMPSHORTTRUE

   * source/compiler/harbour.c
     + Added hb_compOptimizeJumps() - Jumps Optimizer.
     + Added hb_compSort_ULONG() Call back function for qsort - used in the Jump Optimizer.
     + Added support for new elements of _FUNC.
     * Modified hb_compGen*Jump*() to support Short Normal and Far Jumps.

   * source/include/hbexprb.c
     * Reverted handling of .OR. .AND. and IIF() to use default (FAR) JUMPs - note the use of (0) when calling hb_compGenJump*().

   * source/compiler/genc.c
     + Added support for HB_P_JAMPSHORT, HB_P_JAMPSHORTFALSE and HB_P_JAMPSHORTTRUE

   * source/compiler/cmdcheck.c
     + Added support for new switch -J[0|1] default is J1 which enables the Jump Optimizer - Use -J0 to disable.

   * source/compiler/hbgenerr.c
     - Removed following errors:
        "Jump offset too long for HB_P_JUMP needed HB_P_JUMPFAR",
        "Jump offset too long for HB_P_JUMPTRUE needed HB_P_JUMPFARTRUE",
        "Jump offset too long for HB_P_JUMPFALSE needed HB_P_JUMPFARFALSE",

     * Changed "HB_P_JUMPx not found when fixing offset" to "Jump PCode not found"

   * source/include/hberrors.h
     - Removed following defines:
   	#define HB_COMP_ERR_INVALID_JUMPTRUE            46
   	#define HB_COMP_ERR_INVALID_JUMPFALSE           47
   	#define HB_COMP_ERR_JUMP_NOT_FOUND              48

   * source/include/hberrors.h
     + Added following to __FUNC
   	ULONG  * pNOOPs;                 /* pointer to the NOOP array */
   	ULONG  * pJumps;                 /* pointer to the Jumps array */
   	int    iNOOPs;                   /* NOOPs Counter */
   	int    iJumps;                   /* Jumps Counter */

   * source/include/hbpcode.h
     + Added HB_P_JAMPSHORT, HB_P_JAMPSHORTFALSE and HB_P_JAMPSHORTTRUE
2000-04-18 12:41:08 +00:00
Antonio Linares
707e6b9f2e *** empty log message *** 2000-04-16 06:46:04 +00:00
Viktor Szakats
8440262da1 20000415-12:38 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-15 10:36:42 +00:00
Ron Pinkas
aa77b49532 20000414-17:57 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.c
     * Corrected few Compiler warnings about type format

   * source/compiler/genc.c
     * Corrected few Compiler warnings about possible unitilized iBytes.
2000-04-15 00:57:56 +00:00
Ron Pinkas
d5fdbc0e34 20000413-19:30 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/hvm.c
     * Added FAR support to HB_P_SEQBEGIN and HB_P_SEQEND

   * source/compiler/harbour.c
     * Modified hb_compGenJumpThere() to revert back to "short" JUMPs when fixing the jumps, it will than use HB_P_NOOP for the unused 3rd byte.
     * It now supports all variations of JUMP including SEQBEGIN and  SEQEND as well as the logig to not interfere with "short" JUMPs.
     + Added more error handling to hb_compGenJumpThere()

   * source/include/hbexprb.c
     * Modified handling of .OR. .AND. and IIF() to use "short" JUMPs - note the use of -1 when calling hb_compGenJumpXXX().

   * source/compiler/genc.c
     + Added support for HB_P_NOOP (was missing!)
     * Modified HB_P_SEQBEGIN and HB_P_SEQEND to support FAR jumps

   * source/compiler/hbgenerr.c
     + Added following errors:
        "Jump offset too long for HB_P_JUMP needed HB_P_JUMPFAR",
        "Jump offset too long for HB_P_JUMPTRUE needed HB_P_JUMPFARTRUE",
        "Jump offset too long for HB_P_JUMPFALSE needed HB_P_JUMPFARFALSE",
        "HB_P_JUMPx not found when fixing offset"

   * source/include/hbexprb.c
     + Added following defines:
	#define HB_COMP_ERR_INVALID_JUMP                45
	#define HB_COMP_ERR_INVALID_JUMPTRUE            46
	#define HB_COMP_ERR_INVALID_JUMPFALSE           47
	#define HB_COMP_ERR_JUMP_NOT_FOUND              48
2000-04-14 02:59:49 +00:00
Viktor Szakats
9815009a5c 20000413-12:32 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-13 10:35:42 +00:00
Ron Pinkas
be8587e794 20000413-01:30 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/include/hbpcode.h
     + Added HB_P_JUMPFAR, HB_P_JUMPFARFALSE, and HB_P_JUMPFARTRUE

   * source/compiler/hvm.c
     + Added support for HB_P_JUMPFAR, HB_P_JUMPFARFALSE, and HB_P_JUMPFARTRUE to support longer than 2^15 jumps.

   * source/compiler/harbour.c
     * Enhanced hb_compGenJump(), hb_compGenJumpFalse(), hb_compGenJumpTrue(), hb_compGenJumpHere() and hb_compGenJumpThere()
       to utilize HB_P_JUMPFAR, HB_P_JUMPFARFALSE, and HB_P_JUMPFARTRUE to support longer than 2^15 jumps.

   * source/compiler/genc.c
     + Added support for HB_P_JUMPFAR, HB_P_JUMPFARFALSE, and HB_P_JUMPFARTRUE to support longer than 2^15 jumps.
2000-04-13 09:46:07 +00:00
Viktor Szakats
e12b9dd9e9 20000411-13:12 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-11 11:17:46 +00:00
Viktor Szakats
bf2a6741b3 20000409-03:48 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-09 02:12:16 +00:00
Ryszard Glab
d9e90ce46e ChangeLog 20000406-10:55 2000-04-06 09:35:45 +00:00
Viktor Szakats
8631f135c8 20000405-02:03 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-05 00:28:30 +00:00
Viktor Szakats
c7333102d0 20000404-03:24 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-04 01:27:00 +00:00
Viktor Szakats
c58df7356f 20000403-22:20 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-03 20:18:59 +00:00
Viktor Szakats
7a8980eaa6 20000402-16:17 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-02 14:17:28 +00:00
Paul Tucker
ba63909eca 20000401-03:20 EST Paul Tucker <ptucker@sympatico.ca> 2000-04-01 08:23:40 +00:00
Paul Tucker
fc1dd5c2de 20000331-15:20 2000-03-31 20:28:51 +00:00
Paul Tucker
f099c88357 20000331-15:20 est 2000-03-31 20:21:15 +00:00