summaryrefslogtreecommitdiff
path: root/test/utils/python/generate_java_main.py
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2016-08-31 18:56:04 +0100
committerVladimir Marko <vmarko@google.com>2016-09-01 10:46:16 +0100
commite74fe1e92de5edb4f4737d9f7ca7518c6abfe3c7 (patch)
tree2937a239981d02b4412475d863434c8baa0f6a0d /test/utils/python/generate_java_main.py
parenta2ab404b622c1f3d6daffd70cf7744b3a882ea59 (diff)
Avoid decrementing iterator to std::set<>::begin() in RosAlloc.
Avoid undefined behavior in the expression free_page_runs_.erase(it--); when it == free_page_runs_.begin(). Also avoid the similar expression free_page_runs_.erase(it++) even though it's always well-defined. In practice, the undefined behavior has no observable side effects with the std::set<> implementation we use. Therefore a regression test is not feasible. Test: m test-art-host Change-Id: I4bdeb6cdd068fe5da416b0e66953d5620ad5e999
Diffstat (limited to 'test/utils/python/generate_java_main.py')
0 files changed, 0 insertions, 0 deletions