harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zouqiong <ust...@gmail.com>
Subject [Drlvm][Opt]Some Questions about LIR expressions
Date Mon, 29 Jan 2007 02:10:34 GMT
I add the following expression in InstCodeSelector::addElemIndex():

Opnd* current_buffer = irManager.newImmOpnd(typeManager.getInt32Type(),

Opnd * Ip_Opnd = irManager.newMemOpndAutoKind
current_buffer, irManager.newImmOpnd(typeManager.getInt32Type(), 8));

copyOpnd(Ip_Opnd, irManager.newImmOpnd(typeManager.getInt32Type(),

It seems that the constraints of the Opnds are wrong. Is it?

current_obj_acc_record_pointer points to a buffer of type obj_acc_record

typedef struct {
           uint32 base;
           uint32 offset;
           uint32 ip;
           uint32 other_info;

Best Regards,

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