xo-expression: add explicit types to all Expressions
This commit is contained in:
parent
b18de1b0ce
commit
9ff173f68a
12 changed files with 223 additions and 54 deletions
|
|
@ -22,7 +22,7 @@ namespace xo {
|
|||
|
||||
public:
|
||||
/** @p extype sets expression-type; could be constant|primitive **/
|
||||
ConstantInterface(exprtype extype) : Expression{extype} {}
|
||||
ConstantInterface(exprtype extype, TypeDescr valuetype) : Expression{extype, valuetype} {}
|
||||
|
||||
/** downcast from Expression **/
|
||||
static ref::brw<ConstantInterface> from(ref::brw<Expression> x) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue