commit | 45a76cb99104a222d6a9bd768a084893dcb7cf30 | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Thu Jul 21 22:00:15 2011 -0700 |
committer | Ian Rogers <irogers@google.com> | Fri Jul 22 15:16:43 2011 -0700 |
tree | 995557ba95942309ffe9c4a13819a10da8c4b4bb | |
parent | 69759eaa6fd4386f1e6d8748052ad221087b3476 [diff] [blame] |
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;