Exception and suspend count polling on JNI bridge return.

Change-Id: I0e5597fcbdcdb88100b18d63323e7ba8d27f13fe
diff --git a/src/object.h b/src/object.h
index 266822d..218aed9 100644
--- a/src/object.h
+++ b/src/object.h
@@ -486,6 +486,10 @@
     return shorty_[0] == 'J';
   }
 
+  bool IsReturnVoid() const {
+    return shorty_[0] == 'V';
+  }
+
   // The number of arguments that should be supplied to this method
   size_t NumArgs() const {
     return (IsStatic() ? 0 : 1) + shorty_.length() - 1;