aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/mips/CodegenFactory.cpp
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2011-11-04 15:58:37 -0700
committerAndy McFadden <fadden@android.com>2011-11-04 15:59:43 -0700
commitccf4c9d99fcffbc9bf65066004896745b9dcc340 (patch)
tree95b14ca2ae75bed8787d84647d1231543d1ee968 /vm/compiler/codegen/mips/CodegenFactory.cpp
parentab97cd1634ed4e2c9e5c558a9f88ed9ca8623c8c (diff)
Don't decr profiling count without incr
The failure cleanup code in dvmMethodTraceStart() was assuming that profiling had already been started, which was true until my previous change. The code in the interpreter isn't too picky, but updateActiveProfilers() is trying to keep an accurate acount, and gets upset. If you pass in a bad filename, we disable something that was never enabled, and the VM gets confused and aborts out of spite. Related to bug 5564440 Change-Id: I17fd8bf4654c29f49efb10142d222a91c190b6ed
Diffstat (limited to 'vm/compiler/codegen/mips/CodegenFactory.cpp')
0 files changed, 0 insertions, 0 deletions