OSDN Git Service

[optimizing compiler] Rename dex_offset to dex_pc in the builder
authorCalin Juravle <calin@google.com>
Thu, 13 Nov 2014 16:46:39 +0000 (16:46 +0000)
committerCalin Juravle <calin@google.com>
Thu, 13 Nov 2014 16:46:39 +0000 (16:46 +0000)
commit225ff81cd34e20c97897a6b3f755a0a284b08f46
tree1c885133a5f1f6f8102792083746c0987df671d5
parenta21f598fd4dfdb95dc8597d3156120cc20d94c02
[optimizing compiler] Rename dex_offset to dex_pc in the builder

The term dex offset comes from Dalvik where these were addresses in
memory. Currently these should be dex PCs, namely offsets from the start
of code items. Quick lacks this clean up but there's no need to bring
over the convention to optimizing.

(thanks to irogers for the commit message text)

Change-Id: If86c0cf021a06f04a21462053e9d5f31bba7f65d
compiler/optimizing/builder.cc
compiler/optimizing/builder.h