Add stack overflow check

Change-Id: I67fcb5ad4bda304879ce05561b03aa7cd46e9990
diff --git a/src/compiler/Frontend.cc b/src/compiler/Frontend.cc
index 702611d..2f86c48 100644
--- a/src/compiler/Frontend.cc
+++ b/src/compiler/Frontend.cc
@@ -707,6 +707,9 @@
          0;
 #endif
 
+    /* Assume non-throwing leaf */
+    cUnit.attrs = (METHOD_IS_LEAF | METHOD_IS_THROW_FREE);
+
     /* Initialize the block list */
     oatInitGrowableList(&cUnit.blockList, 40);