Fixed regression on ARM caused by the changed behaviour of noStackFrame in commit ac474a2812.

This commit is contained in:
Dominik Picheta 2013-10-19 21:01:32 +01:00
commit 199c4d21bd
3 changed files with 6 additions and 5 deletions

View file

@ -9,9 +9,9 @@ static int cvariable = 420;
""".}
proc embedsC() {.noStackFrame.} =
proc embedsC() =
var nimrodVar = 89
{.emit: """fprintf(stdout, "%d\n", cvariable + (int)`nimrodVar`);""".}
{.emit: """printf("%d\n", cvariable + (int)`nimrodVar`);""".}
embedsC()