comparison dmd/mtype.c @ 720:e177ae483f8e

Added inreg attribute where appropriate on x86 to follow ABI docs. Removed now unnecessary temporary variable in StringExp.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Thu, 23 Oct 2008 00:34:46 +0200
parents a26b0c5d5942
children 55f6c2e454d7
comparison
equal deleted inserted replaced
719:7261ff0f95ff 720:e177ae483f8e
2670 this->inuse = 0; 2670 this->inuse = 0;
2671 this->retInPtr = false; 2671 this->retInPtr = false;
2672 this->usesThis = false; 2672 this->usesThis = false;
2673 this->usesNest = false; 2673 this->usesNest = false;
2674 this->retAttrs = 0; 2674 this->retAttrs = 0;
2675 this->thisAttrs = 0;
2675 } 2676 }
2676 2677
2677 Type *TypeFunction::syntaxCopy() 2678 Type *TypeFunction::syntaxCopy()
2678 { 2679 {
2679 Type *treturn = next ? next->syntaxCopy() : NULL; 2680 Type *treturn = next ? next->syntaxCopy() : NULL;
2681 TypeFunction *t = new TypeFunction(params, treturn, varargs, linkage); 2682 TypeFunction *t = new TypeFunction(params, treturn, varargs, linkage);
2682 t->retInPtr = retInPtr; 2683 t->retInPtr = retInPtr;
2683 t->usesThis = usesThis; 2684 t->usesThis = usesThis;
2684 t->usesNest = usesNest; 2685 t->usesNest = usesNest;
2685 t->retAttrs = retAttrs; 2686 t->retAttrs = retAttrs;
2687 t->thisAttrs = thisAttrs;
2686 return t; 2688 return t;
2687 } 2689 }
2688 2690
2689 /******************************* 2691 /*******************************
2690 * Returns: 2692 * Returns: