Fixed regression on ARM caused by the changed behaviour of noStackFrame in commit ac474a2812.
This commit is contained in:
parent
eb4f012239
commit
199c4d21bd
3 changed files with 6 additions and 5 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue