OSDN Git Service

Associate slow paths with the instruction that they belong to.
authorDavid Srbecky <dsrbecky@google.com>
Tue, 9 Feb 2016 15:24:47 +0000 (15:24 +0000)
committerDavid Srbecky <dsrbecky@google.com>
Wed, 24 Feb 2016 10:25:29 +0000 (10:25 +0000)
commit9cd6d378bd573cdc14d049d32bdd22a97fa4d84a
treebe293c89806b919143b7dcd203bae14f5f4eaf04
parent0e02ee9efbf1dbdde05d2b10f7307bbe191c52f5
Associate slow paths with the instruction that they belong to.

Almost all slow paths already know the instruction they belong to,
this CL just moves the knowledge to the base class as well.

This is needed to be be able to get the corresponding dex pc for
slow path, which allows us generate better native line numbers,
which in turn fixes some native debugging stepping issues.

Change-Id: I568dbe78a7cea6a43a4a71a014b3ad135782c270
15 files changed:
compiler/optimizing/code_generator.cc
compiler/optimizing/code_generator.h
compiler/optimizing/code_generator_arm.cc
compiler/optimizing/code_generator_arm64.cc
compiler/optimizing/code_generator_arm64.h
compiler/optimizing/code_generator_mips.cc
compiler/optimizing/code_generator_mips.h
compiler/optimizing/code_generator_mips64.cc
compiler/optimizing/code_generator_mips64.h
compiler/optimizing/code_generator_x86.cc
compiler/optimizing/code_generator_x86_64.cc
compiler/optimizing/intrinsics_arm64.cc
compiler/optimizing/intrinsics_mips.cc
compiler/optimizing/intrinsics_mips64.cc
compiler/optimizing/intrinsics_utils.h