3f175af8a0644fb5fc53aa90e01c24f75855c5f7 |
|
17-Sep-2011 |
Stephen Hines <srhines@google.com> |
Fix .rs.dtor scoping bug. BUG=5267595 This change makes sure to scope any helper variables (like rsIntIter) to the enclosing function (and not make them global). Prior to this change, if an array iterator was created, it would be marked as a global symbol. The libbcc library then sometimes removed this global as it was not able to determine that it was actually used (.rs.dtor is not guaranteed to be called). A fix should be made to libbcc as well, but the proper fix for llvm-rs-cc is to scope any helper variable declarations to the calling function. Change-Id: Ia46654cb0a114f6f5495e32ad1508d7d01e2084b
/frameworks/compile/slang/slang_rs_object_ref_count.h
|
688e64b2d56e4218c680b9d6523c5de672f55757 |
|
24-Aug-2011 |
Stephen Hines <srhines@google.com> |
Generate .rs.dtor() to clean up globals. BUG=5186750 Change-Id: I9d1996153fe774a5ce95646a8a2e07aa6e7fa85f
/frameworks/compile/slang/slang_rs_object_ref_count.h
|
d0b5edd02be5f09c1d8d211f4a06b031a7b66510 |
|
19-Apr-2011 |
Stephen Hines <srhines@google.com> |
Disallow union copies that contain RS object types This also cleans up RSObjectRefCount's usage of ASTContext a bit. BUG=4283858 Change-Id: I9ca61e27fc5d6eb1befc2da4fe2d157f5936a56f
/frameworks/compile/slang/slang_rs_object_ref_count.h
|
292e00a0259ac28cac1055cb6077cf6fc7c6743c |
|
19-Mar-2011 |
Stephen Hines <srhines@google.com> |
Add support for RSASTReplace for ref-counting. BUG=3092382 Change-Id: Ia17d40753952e4a021b39549a082cc4b3f20916c
/frameworks/compile/slang/slang_rs_object_ref_count.h
|
a0611e66bec148b176404cf6afe4c9ec9b960414 |
|
12-Feb-2011 |
Stephen Hines <srhines@google.com> |
Initialize structs. Bug: 3092382 Change-Id: I4b9596c686205bbbc38505ed5dd33d1b968d2fd6
/frameworks/compile/slang/slang_rs_object_ref_count.h
|
2bb67db8364162b30e6920baddf6c2e890b3ce79 |
|
11-Feb-2011 |
Stephen Hines <srhines@google.com> |
Replace struct assignments with rsSetObject calls. Bug: 3092382 Change-Id: I63f16a7dac02eb348b87a6225944d48faa615899
/frameworks/compile/slang/slang_rs_object_ref_count.h
|
f2174cfd6a556b51aadf2b8765e50df080e8f18e |
|
10-Feb-2011 |
Stephen Hines <srhines@google.com> |
Handle struct reference counting. Bug: 3092382 Change-Id: I215bd8245324ec2b7752a7c40817e3e5cd1c0e00
/frameworks/compile/slang/slang_rs_object_ref_count.h
|
e79fb5ec220e20bd04cd6f6059cbc9748181ce21 |
|
02-Feb-2011 |
Stephen Hines <srhines@google.com> |
Handle local RS object initialization properly. This change properly reference counts local RS object types when they are statically initialized. Change-Id: Ib21e8715cf63d2bcba01d332b592516262efb41e Bug: 3092382
/frameworks/compile/slang/slang_rs_object_ref_count.h
|
c202d2d64fe0172bcc3999b515a14d3d88532420 |
|
26-Jan-2011 |
Stephen Hines <srhines@google.com> |
Replace RS object assignments with rsSetObject(). Reference counting works now for all scalar/array types. It still needs to be modified slightly to support structs, initializers and break/continue. Change-Id: I6e531df86508f261b784932fca930bc666cb0084 b: 3092382
/frameworks/compile/slang/slang_rs_object_ref_count.h
|
d5f9d6c8b6944dfc30d4fea68479c2fcc250a62c |
|
16-Dec-2010 |
Stephen Hines <srhines@google.com> |
Convert from use of Expr -> Stmt. This will facilitate rs* array destructors (which use CompoundStmt). Bug: 3092382 Change-Id: I17d86ccedfb6f40c49a491a80dbced55ed917c8f
/frameworks/compile/slang/slang_rs_object_ref_count.h
|
4464d825c11349068f2917f9ebee86b721423f3c |
|
12-Nov-2010 |
Stephen Hines <srhines@google.com> |
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
/frameworks/compile/slang/slang_rs_object_ref_count.h
|
e639eb5caa2c386b4a60659a4929e8a6141a2cbe |
|
09-Nov-2010 |
Stephen Hines <srhines@google.com> |
Improve code style. Change-Id: I26e043849bce2a4b41ae132fbe0c882f4a6f112f
/frameworks/compile/slang/slang_rs_object_ref_count.h
|
1bdd4978caabcdc9489bdcb7f1cd6087340699e8 |
|
09-Nov-2010 |
Stephen Hines <srhines@google.com> |
Add simple destructors to local RS objects. Change-Id: Ie4aa964840b25c3aa8eed257d4ff0a1e4f6ef22a
/frameworks/compile/slang/slang_rs_object_ref_count.h
|
4b32ffdfc1ac766f8932e7effbcdf7484e804a8e |
|
06-Nov-2010 |
Stephen Hines <srhines@google.com> |
Factor out RSObjectRefCount for destructor work. Change-Id: Ibdacc9e9f15401680bc54747664e187a05f62e25
/frameworks/compile/slang/slang_rs_object_ref_count.h
|