Bug 453341 - Allow stack checking to be suppressed per-function, r=dmandelin sr=jst

This commit is contained in:
Benjamin Smedberg
2008-09-03 13:00:12 -04:00
parent 7ac4b85be8
commit ffda0b1a76
3 changed files with 6 additions and 1 deletions

View File

@@ -175,6 +175,9 @@ function process_tree(fndecl)
if (opnew != null)
warning("operator new not followed by an assignment", getLocation());
}
if (hasAttribute(dehydra_convert(fndecl), 'NS_suppress_stackcheck'))
return;
let tmap = new Map();
walk_tree(DECL_SAVED_TREE(fndecl), findconstructors, tmap);