[aarch64-port-dev ] RFR: Add 2 missing stubs

edward.nevill at linaro.org edward.nevill at linaro.org
Thu Aug 1 03:00:21 PDT 2013


Hi,

The following adds 2 stubs that were missing.

After this the list of missing stubs is

  stub(dtrace_object_alloc)          \
  stub(deoptimize)                   \
  stub(g1_pre_barrier_slow)          \
  stub(g1_post_barrier_slow)         \
  stub(fpu2long_stub)                \

I am reviewing these.

OK to push?
Ed.

--- CUT HERE ---
exporting patch:
# HG changeset patch
# User Edward Nevill ed at camswl.com
# Date 1375350741 -3600
# Node ID 5cbbbf6c842f00d10e21b827c11a52c83ee97038
# Parent  c1cd345fa3810a1d0e58cec9b31419025fb44ae0
Added 2 more missing stubs

diff -r c1cd345fa381 -r 5cbbbf6c842f src/cpu/aarch64/vm/c1_Runtime1_aarch64.cpp
--- a/src/cpu/aarch64/vm/c1_Runtime1_aarch64.cpp	Mon Jul 29 18:31:19 2013 +0100
+++ b/src/cpu/aarch64/vm/c1_Runtime1_aarch64.cpp	Thu Aug 01 10:52:21 2013 +0100
@@ -1129,6 +1129,20 @@
       }
       break;
 
+    case throw_index_exception_id:
+      { StubFrame f(sasm, "index_range_check_failed", dont_gc_arguments);
+        oop_maps = generate_exception_throw(sasm, CAST_FROM_FN_PTR(address, throw_index_exception), true);
+      }
+      break;
+
+    case throw_array_store_exception_id:
+      { StubFrame f(sasm, "throw_array_store_exception", dont_gc_arguments);
+        // tos + 0: link
+        //     + 1: return address
+        oop_maps = generate_exception_throw(sasm, CAST_FROM_FN_PTR(address, throw_array_store_exception), true);
+      }
+      break;
+
     default:
       { StubFrame f(sasm, "unimplemented entry", dont_gc_arguments);
         __ mov(r0, (int)id);
--- CUT HERE ---



More information about the aarch64-port-dev mailing list