[aarch64-port-dev ] Add a couple of missing StubRoutines

Andrew Haley aph at redhat.com
Mon Jul 29 10:26:59 PDT 2013


We were missing a StubRoutines.  None of the tests we'd run had spotted
them, but Mauve did.

Fixed thusly.

Andrew.


# HG changeset patch
# User aph
# Date 1375118691 -3600
# Node ID 2e1e49413ac28412d83b8ae188de6c07dd638aa9
# Parent  36a0232e6c350e5f69703244409b4d89d8b68b5e
Add a couple of missing StubRoutines.

diff -r 36a0232e6c35 -r 2e1e49413ac2 src/cpu/aarch64/vm/stubGenerator_aarch64.cpp
--- a/src/cpu/aarch64/vm/stubGenerator_aarch64.cpp	Thu Jul 25 18:31:25 2013 +0100
+++ b/src/cpu/aarch64/vm/stubGenerator_aarch64.cpp	Mon Jul 29 18:24:51 2013 +0100
@@ -1355,7 +1355,24 @@
   void generate_all() {
     // support for verify_oop (must happen after universe_init)
     StubRoutines::_verify_oop_subroutine_entry     = generate_verify_oop();
-    StubRoutines::_throw_IncompatibleClassChangeError_entry = generate_throw_exception("IncompatibleClassChangeError throw_exception", CAST_FROM_FN_PTR(address, SharedRuntime::throw_IncompatibleClassChangeError));
+    StubRoutines::_throw_AbstractMethodError_entry =
+      generate_throw_exception("AbstractMethodError throw_exception",
+                               CAST_FROM_FN_PTR(address,
+                                                SharedRuntime::
+                                                throw_AbstractMethodError));
+
+    StubRoutines::_throw_IncompatibleClassChangeError_entry =
+      generate_throw_exception("IncompatibleClassChangeError throw_exception",
+                               CAST_FROM_FN_PTR(address,
+                                                SharedRuntime::
+                                                throw_IncompatibleClassChangeError));
+
+    StubRoutines::_throw_NullPointerException_at_call_entry =
+      generate_throw_exception("NullPointerException at call throw_exception",
+                               CAST_FROM_FN_PTR(address,
+                                                SharedRuntime::
+                                                throw_NullPointerException_at_call));
+
     // arraycopy stubs used by compilers
     generate_arraycopy_stubs();
   }



More information about the aarch64-port-dev mailing list