| Issue 199: | Stack code always generated | |
| 1 person starred this issue and may be notified of changes. | Back to list |
When I compile this class:
class Hello {
static function main():Void {
Sys.println("Hello World");
}
}
The generated main function looks like this:
Void Hello_obj::main( ){
{
HX_STACK_PUSH("Hello::main","Hello.hx",2);
HX_STACK_LINE(2)
::Sys_obj::println(HX_CSTRING("Hello World"));
}
return null();
}
Shouldn't the stack overhead code only be generated for debug builds?
Tested on Linux for both the latest version on haxelib as well as the latest SVN revision r581.
Sep 17, 2012
Project Member
#1
gameh...@gmail.com
Status:
WontFix
Sep 18, 2012
Ah, thanks for clearing that up! :) |