Exemplo n.º 1
0
LPhi *
LPhi::New(MIRGenerator *gen, MPhi *ins)
{
    LPhi *phi = new LPhi(ins);
    if (!phi->init(gen))
        return NULL;
    return phi;
}
Exemplo n.º 2
0
LPhi *
LPhi::New(MIRGenerator *gen, MPhi *ins)
{
    LPhi *phi = new(gen->alloc()) LPhi(ins);
    if (!phi->init(gen))
        return nullptr;
    return phi;
}