view ir/ir.h @ 1053:11e28922ac76

Always pass an address expression (not a var expression) to asm operands of type Arg_Memory. This fixes the following code: {{{ void f(real x) { asm { fld x[RBP]; } } void g(int x) { asm { mov EAX, x[RBP]; } } }}}
author Frits van Bommel <fvbommel wxs.nl>
date Sun, 08 Mar 2009 00:57:58 +0100
parents eef8ac26c66c
children dbe4af57b240
line wrap: on
line source

// this head contains stuff used by all the IR

#ifndef LDC_IR_IR_H
#define LDC_IR_IR_H

#include "ir/irforw.h"
#include "root.h"

struct IrBase : Object
{
    virtual ~IrBase() {}
};

#endif