summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2009-08-25 07:19:34 -0700
committerAndy McFadden <fadden@android.com>2009-08-25 15:17:46 -0700
commitee2c7d35da742940e94129d0826a7bf7a2fedb20 (patch)
tree1f6f5ad5e7b531b053106bcf159e868c04d90006
parentceafcfe91fcad3d5be8efa95550b7797d79c6b16 (diff)
downloadlibcore-ee2c7d35da742940e94129d0826a7bf7a2fedb20.zip
libcore-ee2c7d35da742940e94129d0826a7bf7a2fedb20.tar.gz
libcore-ee2c7d35da742940e94129d0826a7bf7a2fedb20.tar.bz2
Another round of scary indirect ref changes.
This change adds a not-really-working implementation to Jni.c, with various changes #ifdefed throughout the code. The ifdef is currently disabled, so the old behavior should continue. Eventually the old version will be stripped out and the ifdefs removed. This renames the stack's "localRefTop" field, which nudged a bunch of code. The name wasn't really right before (it's the *bottom* of the local references), and it's even less right now. This and one other mterp-visible constant were changed, which caused some ripples through mterp and the JIT, but the ifdeffing was limited to one in asm-constants.h (and the constant is the same both ways, so toggling the ifdef won't require rebuilding asm sources). Some comments and arg names in ReferenceTable were updated for the correct orientation of bottom vs. top. Some adjustments were made to the JNI code, e.g. dvmCallMethod now needs to understand if it needs to convert reference arguments from local/global refs to pointers (it's called from various places throughout the VM).
0 files changed, 0 insertions, 0 deletions