summaryrefslogtreecommitdiff
path: root/runtime/interpreter/interpreter_common.cc
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2015-03-07 17:09:22 +0000
committer Android Git Automerger <android-git-automerger@android.com> 2015-03-07 17:09:22 +0000
commit951db522ba53673383fbe6fb3a6057833d22ad9d (patch)
tree4fe09b2ed6b1d03be2c907741dae2543ffeac444 /runtime/interpreter/interpreter_common.cc
parentb2cc647ddfc52c31525be5b4c31734b49d875676 (diff)
parent5599377396861f5d67019b4b239e897f67fe8835 (diff)
am 55993773: Merge "ART: Allow arraycopy with int[] in unstarted runtime"
* commit '5599377396861f5d67019b4b239e897f67fe8835': ART: Allow arraycopy with int[] in unstarted runtime
Diffstat (limited to 'runtime/interpreter/interpreter_common.cc')
-rw-r--r--runtime/interpreter/interpreter_common.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/interpreter/interpreter_common.cc b/runtime/interpreter/interpreter_common.cc
index 604e1337e6..82d412c505 100644
--- a/runtime/interpreter/interpreter_common.cc
+++ b/runtime/interpreter/interpreter_common.cc
@@ -986,7 +986,8 @@ static void UnstartedRuntimeInvoke(Thread* self, const DexFile::CodeItem* code_
mirror::ArtMethod* method = shadow_frame->GetVRegReference(arg_offset)->AsArtMethod();
result->SetL(method->GetNameAsString(self));
} else if (name == "void java.lang.System.arraycopy(java.lang.Object, int, java.lang.Object, int, int)" ||
- name == "void java.lang.System.arraycopy(char[], int, char[], int, int)") {
+ name == "void java.lang.System.arraycopy(char[], int, char[], int, int)" ||
+ name == "void java.lang.System.arraycopy(int[], int, int[], int, int)") {
// Special case array copying without initializing System.
Class* ctype = shadow_frame->GetVRegReference(arg_offset)->GetClass()->GetComponentType();
jint srcPos = shadow_frame->GetVReg(arg_offset + 1);