diff ir/irsymbol.cpp @ 175:c44e6a711885 trunk

[svn r191] Fixed: array literals did not support all type/storage combinations. Fixed: with expression had broke somewhere along the way.
author lindquist
date Wed, 07 May 2008 00:01:13 +0200
parents 16e676ae5ab4
children cea8dcfa76df
line wrap: on
line diff
--- a/ir/irsymbol.cpp	Tue May 06 18:36:46 2008 +0200
+++ b/ir/irsymbol.cpp	Wed May 07 00:01:13 2008 +0200
@@ -51,6 +51,11 @@
     irField = NULL;
 }
 
+bool IrDsymbol::isSet()
+{
+    return (irStruct || irFunc || irGlobal || irLocal || irField);
+}
+
 IrVar* IrDsymbol::getIrVar()
 {
     assert(irGlobal || irLocal || irField);