]> granicus.if.org Git - yasm/commitdiff
Remove jmpsize_threshold added in new-optimizer; it's not actually used.
authorPeter Johnson <peter@tortall.net>
Thu, 10 Aug 2006 04:13:05 +0000 (04:13 -0000)
committerPeter Johnson <peter@tortall.net>
Thu, 10 Aug 2006 04:13:05 +0000 (04:13 -0000)
svn path=/trunk/yasm/; revision=1599

libyasm/arch.h
modules/arch/x86/x86arch.c

index 99cc93fc32b8ef946e3d7dba203497e5d024dd1a..0d94c7b20ed1961aafba308c0b2925409dc5381d 100644 (file)
@@ -234,12 +234,6 @@ typedef struct yasm_arch_module {
      */
     unsigned int wordsize;
 
-    /** Long/short jump size descriminator.  Number of bytes (+/-) a short
-     * jump can range over.  Used to size optimization FIFOs, so don't
-     * make this extremely large (e.g. >1000).
-     */
-    const unsigned long jmpsize_threshold;
-
     /** Worst case minimum instruction length in bytes.
      * Call yasm_arch_min_insn_len() to get the minimum instruction length of
      * a particular #yasm_arch.
@@ -526,8 +520,6 @@ yasm_effaddr *yasm_arch_ea_create(yasm_arch *arch, /*@keep@*/ yasm_expr *e);
     (((yasm_arch_base *)arch)->module->keyword)
 #define yasm_arch_wordsize(arch) \
     (((yasm_arch_base *)arch)->module->wordsize)
-#define yasm_arch_jmpsize_threshold(arch) \
-    (((yasm_arch_base *)arch)->module->jmpsize_threshold)
 #define yasm_arch_min_insn_len(arch) \
     (((yasm_arch_base *)arch)->module->min_insn_len)
 
index 0089b615abb94a99838036c1f4ca84605ec275c0..392238556b296014974c0f51f4982cc0590dda64 100644 (file)
@@ -462,6 +462,5 @@ yasm_arch_module yasm_x86_LTX_arch = {
     x86_machines,
     "x86",
     16,
-    128,
     1
 };