Lines Matching defs:match
63 * TABLESWITCH instruction, depending on whether the match values (int[]) can be
69 private int[] match;
75 * Template for switch() constructs. If the match array can be
84 * @param match array of match values (case 2: ... case 7: ..., etc.)
89 public SWITCH(int[] match, InstructionHandle[] targets,
91 this.match = (int[])match.clone();
94 if((match_length = match.length) < 2) // (almost) empty switch, or just default
95 instruction = new TABLESWITCH(match, targets, target);
102 instruction = new TABLESWITCH(this.match, this.targets, target);
105 instruction = new LOOKUPSWITCH(this.match, this.targets, target);
109 public SWITCH(int[] match, InstructionHandle[] targets,
111 this(match, targets, target, 1);
120 m_vec[0] = match[0];
124 int prev = match[i-1];
125 int gap = match[i] - prev;
133 m_vec[count] = match[i];
138 match = new int[count];
141 System.arraycopy(m_vec, 0, match, 0, count);
146 * Sort match and targets array with QuickSort.
150 int h, m = match[(l + r) / 2];
154 while(match[i] < m) i++;
155 while(m < match[j]) j--;
158 h=match[i]; match[i]=match[j]; match[j]=h; // Swap elements
169 * @return match is sorted in ascending order with no gap bigger than max_gap?
173 if(match[i] - match[i-1] > max_gap)