commit | 4464d825c11349068f2917f9ebee86b721423f3c | [log] [tgz] |
---|---|---|
author | Stephen Hines <srhines@google.com> | Thu Nov 11 16:45:08 2010 -0800 |
committer | Stephen Hines <srhines@google.com> | Thu Nov 11 16:45:08 2010 -0800 |
tree | d9dcd2435ba11385530ec78859e2bbf7603395b6 | |
parent | e639eb5caa2c386b4a60659a4929e8a6141a2cbe [diff] |
Support local destructor for many return stmts. This allows us to insert destructor calls to rsClearObject() for all local variables at the end of their scope (closing curly brace), as well as before any enclosed return statement. Note that proper support for a local destructor with break/continue is still unimplemented. Change-Id: I7c0633d2901b9bc7e1bac8e211b9eae2ac9f6e92