diff options
author | Ian Rogers <irogers@google.com> | 2013-07-29 11:07:13 -0700 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2013-07-30 16:00:24 -0700 |
commit | 7655f29fabc0a12765de828914a18314382e5a35 (patch) | |
tree | 219f2df20cf7f053a73a345ae20e131a73759c79 /runtime/entrypoints/quick/quick_fillarray_entrypoints.cc | |
parent | 1a8080d4c2e1772cfcc5e9d6587bc63bba3945d9 (diff) | |
download | art-7655f29fabc0a12765de828914a18314382e5a35.tar.gz art-7655f29fabc0a12765de828914a18314382e5a35.tar.bz2 art-7655f29fabc0a12765de828914a18314382e5a35.zip |
Portable refactorings.
Separate quick from portable entrypoints.
Move architectural dependencies into arch.
Change-Id: I9adbc0a9782e2959fdc3308215f01e3107632b7c
Diffstat (limited to 'runtime/entrypoints/quick/quick_fillarray_entrypoints.cc')
-rw-r--r-- | runtime/entrypoints/quick/quick_fillarray_entrypoints.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/entrypoints/quick/quick_fillarray_entrypoints.cc b/runtime/entrypoints/quick/quick_fillarray_entrypoints.cc index a0b06fb521..b81ad12b7b 100644 --- a/runtime/entrypoints/quick/quick_fillarray_entrypoints.cc +++ b/runtime/entrypoints/quick/quick_fillarray_entrypoints.cc @@ -52,7 +52,7 @@ extern "C" int artHandleFillArrayDataFromCode(mirror::Array* array, ThrowLocation throw_location = self->GetCurrentLocationForThrow(); self->ThrowNewExceptionF(throw_location, "Ljava/lang/ArrayIndexOutOfBoundsException;", "failed FILL_ARRAY_DATA; length=%d, index=%d", - array->GetLength(), payload->element_count); + array->GetLength(), payload->element_count - 1); return -1; // Error } uint32_t size_in_bytes = payload->element_count * payload->element_width; |