diff options
-rw-r--r-- | src/object.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object.cc b/src/object.cc index 21f3537444..8af17787b3 100644 --- a/src/object.cc +++ b/src/object.cc @@ -296,7 +296,7 @@ size_t Method::NumArgArrayBytes() { char ch = shorty[i]; if (ch == 'D' || ch == 'J') { num_bytes += 8; - } if (ch == 'L') { + } else if (ch == 'L') { // Argument is a reference or an array. The shorty descriptor // does not distinguish between these types. num_bytes += sizeof(Object*); |