[LLVMdev] Error on completing ToyThread::execute() in ToyVM (vmkit project)

mkh mkh159 at gmail.com
Wed Sep 18 04:44:03 PDT 2013

Hi all,

My code is:
    TOY_VAR(Picture*, aPic);    
    aPic = Picture::doNew(-2, 1, -1, 1, 1900, 1200);

This code has the following compilation error:
../lib/ToyRoot.h:41:33: error: no member named 'getVirtualTable' in 'Toy::Picture'
                        res = gc::operator new(sz, o.getVirtualTable());
                                                   ~ ^
Is it correct?

Best regards,

More information about the llvm-dev mailing list