From f3c55704a0832828317e0c357ac24c003d3a45ea Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Mon, 5 Jan 2015 03:56:05 +0200 Subject: [PATCH] unstaged file --- compiler/vmgen.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/vmgen.nim b/compiler/vmgen.nim index 7b574bccc..8444af7ba 100644 --- a/compiler/vmgen.nim +++ b/compiler/vmgen.nim @@ -165,7 +165,7 @@ const HighRegisterPressure = 40 proc getTemp(c: PCtx; tt: PType): TRegister = - let typ = tt.skipTypes({tyStatic}) + let typ = tt.safeSkipTypes({tyStatic}) let c = c.prc # we prefer the same slot kind here for efficiency. Unfortunately for # discardable return types we may not know the desired type. This can happen