Commit Graph

1783 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
cb94df2cb3 20000423-14:35 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-23 12:29:33 +00:00
Viktor Szakats
9310045570 20000423-14:23 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-23 12:20:17 +00:00
Viktor Szakats
6aee9c236d 20000423-11:38 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-23 09:39:45 +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
Ron Pinkas
a34c135487 20000422-11:35 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/hvm.c
     * Minor correction of HB_TRACE messages for HB_P_ZERO, HB_P_ONE, HB_P_PUSHNIL, HB_P_PUSHBYTE, and HB_P_PUSHINT
2000-04-22 18:49:40 +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
75eb1fcb3e 20000421-00:54 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-20 22:50:55 +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
41ba89d824 ChangeLog 20000420-17:35 GMT+1 2000-04-20 15:14:16 +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
Viktor Szakats
4e36c6b41f 20000419-00:28 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-18 23:30:42 +00:00
David G. Holm
9e468b803c See ChangeLog entry 2000-04-18 14:55 GMT-4 David G. Holm <dholm@jsd-llc.com> 2000-04-18 18:53:11 +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
Ryszard Glab
5e232fc501 ChangeLog 20000418-13:30 GMT+1 2000-04-18 11:14:06 +00:00
David G. Holm
53673c34e9 See ChangeLog entry 2000-04-17 21:00 GMT-4 David G. Holm <dholm@jsd-llc.com> 2000-04-18 00:59:40 +00:00
David G. Holm
3814a492d6 See ChangeLog entry 2000-04-17 20:30 GMT-4 David G. Holm <dholm@jsd-llc.com> 2000-04-18 00:30:22 +00:00
David G. Holm
d0dc56c16c See ChangeLog entry 2000-04-17 19:45 GMT-4 David G. Holm <dholm@jsd-llc.com> 2000-04-17 23:46:45 +00:00
Maurilio Longo
9a1ecd0689 20000417-23:01 GMT+2 Maurilio Longo <maurilio.longo@libero.it> 2000-04-17 21:17:19 +00:00
David G. Holm
76629ea7ab See ChangeLog entry 2000-04-17 14:40 GMT-4 David G. Holm <dholm@jsd-llc.com> 2000-04-17 18:46:05 +00:00
Maurilio Longo
8b35574427 20000417-16:06 GMT+2 Maurilio Longo <maurilio.longo@libero.it> 2000-04-17 14:11:40 +00:00
Ryszard Glab
ec46ef5a5c ChangeLog 20000417-15:55 GMT+1 2000-04-17 13:33:16 +00:00