aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/arm/CodegenDriver.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2010-06-17 13:19:01 -0700
committerElliott Hughes <enh@google.com>2010-06-17 13:19:01 -0700
commite9179f1f74d8234c0062322469e6e29f9bf8c453 (patch)
treeed2ccc4bee23fbe92ff8f5c35e072dc510a6dede /vm/compiler/codegen/arm/CodegenDriver.c
parentc5f53e2c1107e8a62638038bbff163731908da34 (diff)
Move the implementation of JNIHelp.h's FileDescriptor helpers into JNIHelp.c.
These functions used to be declared in dalvik/ but defined in libcore/, which was a layering violation but not important. It now stands in the way of switching FileDescriptor's JNI over to C++, so out it goes. There's a functional change here: the libcore code was going out of its way to ensure that FileDescriptor's <clinit> was being invoked, but it's not obvious that there was any reason for this: the static initializers just set the err/in/out fields' descriptor fields to the appropriate integers. A separate change rewrites FileDescriptor's JNI in terms of JNIHelp.h's API, so it no longer needs to know anything about FileDescriptor itself. (Amusingly, the original motivation for switching to C++ was to rewrite code that I've now simply deleted.) Change-Id: I5d79e5b91835183c21a6b7a1545178d9d93f4b69
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenDriver.c')
0 files changed, 0 insertions, 0 deletions