============ idCompiler::ParseObjectCall ============ */
| 1118 | ============ |
| 1119 | */ |
| 1120 | idVarDef *idCompiler::ParseObjectCall( idVarDef *object, idVarDef *func ) { |
| 1121 | EmitPush( object, object->TypeDef() ); |
| 1122 | if ( callthread ) { |
| 1123 | callthread = false; |
| 1124 | return EmitFunctionParms( OP_OBJTHREAD, func, 1, type_object.Size(), object ); |
| 1125 | } else { |
| 1126 | return EmitFunctionParms( OP_OBJECTCALL, func, 1, 0, object ); |
| 1127 | } |
| 1128 | } |
| 1129 | |
| 1130 | /* |
| 1131 | ============ |