summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-04-21 03:44:48 +0200
committerAraq <rumpf_a@web.de>2014-04-21 03:44:48 +0200
commit5e839d50b4e671eb37db75df6c5729622f313122 (patch)
tree1feeb74d7c66b538494b29066ad8330f48779a1f /compiler
parentb15f323f038969566398b189118601f356ced1ac (diff)
downloadNim-5e839d50b4e671eb37db75df6c5729622f313122.tar.gz
fixes DLL generation
Diffstat (limited to 'compiler')
-rw-r--r--compiler/cgen.nim2
-rw-r--r--compiler/condsyms.nim1
2 files changed, 2 insertions, 1 deletions
diff --git a/compiler/cgen.nim b/compiler/cgen.nim
index f64ebacfb..8d66d7a3b 100644
--- a/compiler/cgen.nim
+++ b/compiler/cgen.nim
@@ -730,7 +730,7 @@ proc retIsNotVoid(s: PSym): bool =
   result = (s.typ.sons[0] != nil) and not isInvalidReturnType(s.typ.sons[0])
 
 proc initFrame(p: BProc, procname, filename: PRope): PRope =
-  discard cgsym(p.module, "pushFrame")
+  discard cgsym(p.module, "nimFrame")
   if p.maxFrameLen > 0:
     discard cgsym(p.module, "TVarSlot")
     result = rfmt(nil, "\tnimfrs($1, $2, $3, $4)$N",
diff --git a/compiler/condsyms.nim b/compiler/condsyms.nim
index 4117fc461..17bb5db55 100644
--- a/compiler/condsyms.nim
+++ b/compiler/condsyms.nim
@@ -49,6 +49,7 @@ proc initDefines*() =
   defineSymbol("nimcomputedgoto")
   defineSymbol("nimunion")
   defineSymbol("nimnewshared")
+  defineSymbol("nimrequiresnimframe")
   
   # add platform specific symbols:
   case targetCPU
8'>178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213