Handle double and long on the Managed side, and follow AAPCS on the Native side.

Change-Id: I43a8fa36cb79fb438f075986a46c66ab8258e725
diff --git a/src/object.cc b/src/object.cc
index 2297eca..7ea30a5 100644
--- a/src/object.cc
+++ b/src/object.cc
@@ -291,7 +291,7 @@
 // The number of reference arguments to this method including implicit this
 // pointer
 size_t Method::NumReferenceArgs() const {
-  size_t result = IsStatic() ? 0 : 1;
+  size_t result = IsStatic() ? 0 : 1;  // The implicit this pointer.
   for (int i = 1; i < shorty_.length(); i++) {
     if ((shorty_[i] == 'L') || (shorty_[i] == '[')) {
       result++;