commit | cefd1878e09fb0fb519a175545a99eb8c4a375b2 | [log] [tgz] |
---|---|---|
author | buzbee <buzbee@google.com> | Fri Sep 09 09:59:52 2011 -0700 |
committer | buzbee <buzbee@google.com> | Fri Sep 09 12:30:27 2011 -0700 |
tree | 6a1624e0cc03a93efdaf575a24bbc0214fa0e243 | |
parent | 449b4bdf90b527ef7a42faaf087494538e62363c [diff] [blame] |
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);