OSDN Git Service

Simplify instance reference offsets.
authorIan Rogers <irogers@google.com>
Thu, 9 Oct 2014 20:21:38 +0000 (13:21 -0700)
committerIan Rogers <irogers@google.com>
Thu, 9 Oct 2014 21:31:29 +0000 (14:31 -0700)
commitcdc1aaffabbdf417d29b203b2cd2763ed2d623f8
treeff56b9bbaa3ce0305c0ef71c055d3664dddfe93a
parentbbb1fc6e95f46470979936450b0d3f1e020c5904
Simplify instance reference offsets.

Don't encode Object's class. Use trailing rather than leading zeroes to give
offset position.

Change-Id: I1ae74e7a01f63696429644adf81cdf6ee58832fe
runtime/class_linker.cc
runtime/class_linker.h
runtime/class_linker_test.cc
runtime/image.cc
runtime/mirror/class.cc
runtime/mirror/class.h
runtime/mirror/object-inl.h
runtime/mirror/object.h
runtime/mirror/object_test.cc