OSDN Git Service

[JIT] Fix profile trace dump
authorbuzbee <buzbee@google.com>
Fri, 18 Feb 2011 19:13:56 +0000 (11:13 -0800)
committerbuzbee <buzbee@google.com>
Fri, 18 Feb 2011 19:13:56 +0000 (11:13 -0800)
commit03af43a4851879e98de8ffc19c786c293f68f4e7
tree21ba6572e9df123390af3234738ddeb9602552da
parentd8dc6b738a5b531e4ed39e696754bfecb2533c62
[JIT] Fix profile trace dump

The debugging profile mode prints out a list of the top ten traces,
followed by recompilations.  In some cases, it is possible that a trace
was requested, but did not finish compiling before the run ended.  If
so, that could cause the dump to fail.  This CL adds a check for null
codeAddress to detect those cases.

Change-Id: I415fd94d8fa9e270f75d5114fa5cc5d993bd6997
vm/compiler/codegen/arm/Assemble.c