harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Pervov" <pmcfi...@gmail.com>
Subject Re: [drlvm] how to select a proper constuctor to initialize object in drlvm
Date Fri, 11 May 2007 15:23:14 GMT
Tingpeng,

Do you want to do it from VM core source? If yes, then you should use
class_alloc_new_object_and_run_constructor.
Look in VM core code for examples on how to use this.

Regards,
    Pavel.

On 5/11/07, Tingpeng Wu <wutingpeng@gmail.com> wrote:

> Assuming there is an class named A, statement A a = new A(args list...)
> should do two tasks.
> 1) allocate space for object a
> 2) initialize the object a according to args list
>
> I am interested in how to select a proper constructor to initilize the
> object according to args list. Does anyone knows the location of correlation
> sourcecode in harmony?
>
>
> Thanks,
> tingpeng




-- 
Pavel Pervov,
Intel Enterprise Solutions Software Division

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message