164 public static final Call DECREMENT_EXACT = staticCall(JSTYPE_LOOKUP, JSType.class, "decrementExact", int.class, int.class, int.class);
165
166 /** Increment exact wrapper for potentially overflowing integer operations */
167 public static final Call INCREMENT_EXACT = staticCall(JSTYPE_LOOKUP, JSType.class, "incrementExact", int.class, int.class, int.class);
168
169 /** Negate exact exact wrapper for potentially overflowing integer operations */
170 public static final Call NEGATE_EXACT = staticCall(JSTYPE_LOOKUP, JSType.class, "negateExact", int.class, int.class, int.class);
171
172 /** Add exact wrapper for potentially overflowing long operations */
173 public static final Call ADD_EXACT_LONG = staticCall(JSTYPE_LOOKUP, JSType.class, "addExact", long.class, long.class, long.class, int.class);
174
175 /** Sub exact wrapper for potentially overflowing long operations */
176 public static final Call SUB_EXACT_LONG = staticCall(JSTYPE_LOOKUP, JSType.class, "subExact", long.class, long.class, long.class, int.class);
177
178 /** Multiply exact wrapper for potentially overflowing long operations */
179 public static final Call MUL_EXACT_LONG = staticCall(JSTYPE_LOOKUP, JSType.class, "mulExact", long.class, long.class, long.class, int.class);
180
181 /** Div exact wrapper for potentially integer division that turns into float point */
182 public static final Call DIV_EXACT_LONG = staticCall(JSTYPE_LOOKUP, JSType.class, "divExact", long.class, long.class, long.class, int.class);
183
184 /** Div zero wrapper for long division that handles (0/0) >>> 0 == 0 */
185 public static final Call DIV_ZERO_LONG = staticCall(JSTYPE_LOOKUP, JSType.class, "divZero", long.class, long.class, long.class);
186
187 /** Mod zero wrapper for long division that handles (0%0) >>> 0 == 0 */
188 public static final Call REM_ZERO_LONG = staticCall(JSTYPE_LOOKUP, JSType.class, "remZero", long.class, long.class, long.class);
189
190 /** Mod exact wrapper for potentially integer remainders that turns into float point */
191 public static final Call REM_EXACT_LONG = staticCall(JSTYPE_LOOKUP, JSType.class, "remExact", long.class, long.class, long.class, int.class);
192
193 /** Decrement exact wrapper for potentially overflowing long operations */
194 public static final Call DECREMENT_EXACT_LONG = staticCall(JSTYPE_LOOKUP, JSType.class, "decrementExact", long.class, long.class, int.class);
195
196 /** Increment exact wrapper for potentially overflowing long operations */
197 public static final Call INCREMENT_EXACT_LONG = staticCall(JSTYPE_LOOKUP, JSType.class, "incrementExact", long.class, long.class, int.class);
198
199 /** Negate exact exact wrapper for potentially overflowing long operations */
200 public static final Call NEGATE_EXACT_LONG = staticCall(JSTYPE_LOOKUP, JSType.class, "negateExact", long.class, long.class, int.class);
201
202 /** Method handle to convert a JS Object to a Java array. */
203 public static final Call TO_JAVA_ARRAY = staticCall(JSTYPE_LOOKUP, JSType.class, "toJavaArray", Object.class, Object.class, Class.class);
204
205 /** Method handle to convert a JS Object to a Java List. */
206 public static final Call TO_JAVA_LIST = staticCall(JSTYPE_LOOKUP, JSType.class, "toJavaList", List.class, Object.class);
207
|
164 public static final Call DECREMENT_EXACT = staticCall(JSTYPE_LOOKUP, JSType.class, "decrementExact", int.class, int.class, int.class);
165
166 /** Increment exact wrapper for potentially overflowing integer operations */
167 public static final Call INCREMENT_EXACT = staticCall(JSTYPE_LOOKUP, JSType.class, "incrementExact", int.class, int.class, int.class);
168
169 /** Negate exact exact wrapper for potentially overflowing integer operations */
170 public static final Call NEGATE_EXACT = staticCall(JSTYPE_LOOKUP, JSType.class, "negateExact", int.class, int.class, int.class);
171
172 /** Add exact wrapper for potentially overflowing long operations */
173 public static final Call ADD_EXACT_LONG = staticCall(JSTYPE_LOOKUP, JSType.class, "addExact", long.class, long.class, long.class, int.class);
174
175 /** Sub exact wrapper for potentially overflowing long operations */
176 public static final Call SUB_EXACT_LONG = staticCall(JSTYPE_LOOKUP, JSType.class, "subExact", long.class, long.class, long.class, int.class);
177
178 /** Multiply exact wrapper for potentially overflowing long operations */
179 public static final Call MUL_EXACT_LONG = staticCall(JSTYPE_LOOKUP, JSType.class, "mulExact", long.class, long.class, long.class, int.class);
180
181 /** Div exact wrapper for potentially integer division that turns into float point */
182 public static final Call DIV_EXACT_LONG = staticCall(JSTYPE_LOOKUP, JSType.class, "divExact", long.class, long.class, long.class, int.class);
183
184 /** Div zero wrapper for long division that handles (0/0) >>> 0 == 0 */
185 public static final Call DIV_ZERO_LONG = staticCall(JSTYPE_LOOKUP, JSType.class, "divZero", long.class, long.class, long.class);
186
187 /** Mod zero wrapper for long division that handles (0%0) >>> 0 == 0 */
188 public static final Call REM_ZERO_LONG = staticCall(JSTYPE_LOOKUP, JSType.class, "remZero", long.class, long.class, long.class);
189
190 /** Mod exact wrapper for potentially integer remainders that turns into float point */
191 public static final Call REM_EXACT_LONG = staticCall(JSTYPE_LOOKUP, JSType.class, "remExact", long.class, long.class, long.class, int.class);
192
193 /** Decrement exact wrapper for potentially overflowing long operations */
194 public static final Call DECREMENT_EXACT_LONG = staticCall(JSTYPE_LOOKUP, JSType.class, "decrementExact", long.class, long.class, int.class);
195
196 /** Increment exact wrapper for potentially overflowing long operations */
197 public static final Call INCREMENT_EXACT_LONG = staticCall(JSTYPE_LOOKUP, JSType.class, "incrementExact", long.class, long.class, int.class);
198
199 /** Negate exact exact wrapper for potentially overflowing long operations */
200 public static final Call NEGATE_EXACT_LONG = staticCall(JSTYPE_LOOKUP, JSType.class, "negateExact", long.class, long.class, int.class);
201
202 /** Method handle to convert a JS Object to a Java array. */
203 public static final Call TO_JAVA_ARRAY = staticCall(JSTYPE_LOOKUP, JSType.class, "toJavaArray", Object.class, Object.class, Class.class);
204
205 /** Method handle to convert a JS Object to a Java List. */
206 public static final Call TO_JAVA_LIST = staticCall(JSTYPE_LOOKUP, JSType.class, "toJavaList", List.class, Object.class);
207
|