For reference, here is the .m code that used to be generated (and which 
worked)


JAVA_OBJECT 
online_game_gBoard_GetBoardCell___char_int_R_online_game_cell(CODENAME_ONE_THREAD_STATE,
 
JAVA_OBJECT  __cn1ThisObject, JAVA_CHAR __cn1Arg1, JAVA_INT __cn1Arg2) {
    JAVA_INT ilocals_3_; /* v3 */
    JAVA_INT ilocals_4_; /* v4 */
    DEFINE_INSTANCE_METHOD_STACK(3, 5, 0, 10740, 10758);
    locals[0].data.o = __cn1ThisObject; locals[0].type = 
CN1_TYPE_OBJECT;     JAVA_INT ilocals_1_ = __cn1Arg1;
    JAVA_INT ilocals_2_ = __cn1Arg2;
    BC_ALOAD(0);
    /* CustomInvoke */{ JAVA_INT tmpResult = 
virtual_online_game_gBoard_validBoardPos___char_int_R_boolean(threadStateData, 
SP[-1].data.o, ilocals_1_, ilocals_2_);
    SP[-1].data.i = tmpResult; SP[-1].type = CN1_TYPE_INT; }
    if(POP_INT() == 0) /* IFEQ */ goto label_L103709560;
    BC_ALOAD(0);
    /* CustomInvoke */{ JAVA_INT tmpResult = 
virtual_online_game_gBoard_BCtoYindex___char_int_R_int(threadStateData, 
SP[-1].data.o, ilocals_1_, ilocals_2_);
    SP[-1].data.i = tmpResult; SP[-1].type = CN1_TYPE_INT; }
    BC_ISTORE(3);
    BC_ALOAD(0);
    /* CustomInvoke */{ JAVA_INT tmpResult = 
virtual_online_game_gBoard_BCtoXindex___char_int_R_int(threadStateData, 
SP[-1].data.o, ilocals_1_, ilocals_2_);
    SP[-1].data.i = tmpResult; SP[-1].type = CN1_TYPE_INT; }
    BC_ISTORE(4);
    PUSH_POINTER(get_field_online_game_gBoard_board(__cn1ThisObject));
    (*SP).type = CN1_TYPE_INT; /* ILOAD */ 
    (*SP).data.i = ilocals_4_; 
    SP++;
    CHECK_ARRAY_ACCESS(2, SP[-1].data.i); /* AALOAD */
    SP--; SP[-1].type = CN1_TYPE_INVALID; 
    SP[-1].data.o = ((JAVA_ARRAY_OBJECT*) 
(*(JAVA_ARRAY)SP[-1].data.o).data)[(*SP).data.i]; 
    SP[-1].type = CN1_TYPE_OBJECT; 
    (*SP).type = CN1_TYPE_INT; /* ILOAD */ 
    (*SP).data.i = ilocals_3_; 
    SP++;
    CHECK_ARRAY_ACCESS(2, SP[-1].data.i); /* AALOAD */
    SP--; SP[-1].type = CN1_TYPE_INVALID; 
    SP[-1].data.o = ((JAVA_ARRAY_OBJECT*) 
(*(JAVA_ARRAY)SP[-1].data.o).data)[(*SP).data.i]; 
    SP[-1].type = CN1_TYPE_OBJECT; 
    releaseForReturn(threadStateData, cn1LocalsBeginInThread); 
    return POP_OBJ();

label_L103709560:
    PUSH_POINTER(JAVA_NULL); /* ACONST_NULL */
    releaseForReturn(threadStateData, cn1LocalsBeginInThread); 
    return POP_OBJ();
}

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/a35b4b8d-2d80-4d05-9346-dd1e3154ffbc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to