diff options
Diffstat (limited to 'runtime/interpreter/unstarted_runtime.cc')
-rw-r--r-- | runtime/interpreter/unstarted_runtime.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/interpreter/unstarted_runtime.cc b/runtime/interpreter/unstarted_runtime.cc index 81be959cd5..2f22ac4cc7 100644 --- a/runtime/interpreter/unstarted_runtime.cc +++ b/runtime/interpreter/unstarted_runtime.cc @@ -427,6 +427,8 @@ void UnstartedRuntime::UnstartedSystemArraycopy( dst_pos, src, src_pos, length, true /* throw_exception */); } } + } else if (src_type->IsPrimitiveByte()) { + PrimitiveArrayCopy<uint8_t>(self, src_array, src_pos, dst_array, dst_pos, length); } else if (src_type->IsPrimitiveChar()) { PrimitiveArrayCopy<uint16_t>(self, src_array, src_pos, dst_array, dst_pos, length); } else if (src_type->IsPrimitiveInt()) { @@ -437,6 +439,12 @@ void UnstartedRuntime::UnstartedSystemArraycopy( } } +void UnstartedRuntime::UnstartedSystemArraycopyByte( + Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { + // Just forward. + UnstartedRuntime::UnstartedSystemArraycopy(self, shadow_frame, result, arg_offset); +} + void UnstartedRuntime::UnstartedSystemArraycopyChar( Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { // Just forward. |