Reduce shadow frame size.

Change-Id: Ifbd5cb38d0666a1f5db1abe7da36ff86a93f87b5
diff --git a/src/verifier/method_verifier.cc b/src/verifier/method_verifier.cc
index 7d56fa7..b79026d 100644
--- a/src/verifier/method_verifier.cc
+++ b/src/verifier/method_verifier.cc
@@ -3345,6 +3345,7 @@
           table->SetRegCategory(i, r, kRegCat2);
         } else if (rt.IsReferenceTypes()) {
           table->SetRegCategory(i, r, kRegObject);
+          table->SetRegCanBeObject(r);
         } else {
           table->SetRegCategory(i, r, kRegUnknown);
         }