equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
932 * returned.</p> |
932 * returned.</p> |
933 * |
933 * |
934 * <p>The actual code path for determining the proper state is the same as |
934 * <p>The actual code path for determining the proper state is the same as |
935 * in Synth.</p> |
935 * in Synth.</p> |
936 * |
936 * |
937 * @param ctx |
|
938 * @param lastState a 1 element array, allowing me to do pass-by-reference. |
937 * @param lastState a 1 element array, allowing me to do pass-by-reference. |
939 * @return |
|
940 */ |
938 */ |
941 private RuntimeState getNextState(RuntimeState[] states, |
939 private RuntimeState getNextState(RuntimeState[] states, |
942 int[] lastState, |
940 int[] lastState, |
943 int xstate) { |
941 int xstate) { |
944 // Use the StateInfo with the most bits that matches that of state. |
942 // Use the StateInfo with the most bits that matches that of state. |