OSDN Git Service

Do not deduplicate code if --debuggable is set.
authorDavid Srbecky <dsrbecky@google.com>
Wed, 15 Apr 2015 01:46:30 +0000 (02:46 +0100)
committerDavid Srbecky <dsrbecky@google.com>
Wed, 15 Apr 2015 09:47:59 +0000 (10:47 +0100)
commit009e2a6003389207a4ba7dabb028173f350c8144
tree0745f6e34d9eb26d0c7a1cd462270f47d7eb46e4
parent74bf58167e22a781adffe798803105f6541d25a0
Do not deduplicate code if --debuggable is set.

This ensures that the correct method is displayed in backtrace, and it
makes it possible to reliably set native breakpoints in the methods.

I assume this will also be needed for java debugging as soon as the
ArtMethod* is removed from the stackframe.

Change-Id: I289e85461c231fde2d45473bb19aff9ad5fb496d
compiler/oat_writer.cc