comparison gen/dvalue.h @ 143:336ec4f4bbb3 trunk

[svn r147] tango.io.Console is now working. True this time :) Yay!
author lindquist
date Fri, 25 Jan 2008 01:42:36 +0100
parents 3efbcc81ba45
children 7816aafeea3c
comparison
equal deleted inserted replaced
142:a123dca8349b 143:336ec4f4bbb3
67 { 67 {
68 Type* type; 68 Type* type;
69 llvm::Value* val; 69 llvm::Value* val;
70 bool inplace; 70 bool inplace;
71 71
72 DImValue(Type* t, llvm::Value* v, bool i = false) { type = t; val = v; inplace = i; } 72 DImValue(Type* t, llvm::Value* v, bool in_place = false) { type = t; val = v; inplace = in_place; }
73 73
74 virtual llvm::Value* getRVal() { assert(val); return val; } 74 virtual llvm::Value* getRVal() { assert(val); return val; }
75 75
76 virtual Type* getType() { assert(type); return type; } 76 virtual Type* getType() { assert(type); return type; }
77 virtual DImValue* isIm() { return this; } 77 virtual DImValue* isIm() { return this; }