changeset 6473:921005bb0b45

removed graal_slow_subtype_check stub
author Doug Simon <doug.simon@oracle.com>
date Mon, 01 Oct 2012 22:07:59 +0200
parents 7548c1248bb3
children f2624e472426
files src/cpu/x86/vm/c1_Runtime1_x86.cpp src/share/vm/c1/c1_Runtime1.cpp src/share/vm/c1/c1_Runtime1.hpp
diffstat 3 files changed, 0 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/x86/vm/c1_Runtime1_x86.cpp	Mon Oct 01 22:00:22 2012 +0200
+++ b/src/cpu/x86/vm/c1_Runtime1_x86.cpp	Mon Oct 01 22:07:59 2012 +0200
@@ -1976,25 +1976,6 @@
       break;
     }
 
-    case graal_slow_subtype_check_id: {
-      Label success;
-      Label miss;
-
-      // TODO this should really be within the XirSnippets
-      __ check_klass_subtype_fast_path(j_rarg0, j_rarg1, j_rarg2, &success, &miss, NULL);
-      __ check_klass_subtype_slow_path(j_rarg0, j_rarg1, j_rarg2, j_rarg3, NULL, &miss);
-
-      // fallthrough on success:
-      __ bind(success);
-      __ movptr(rax, 1);
-      __ ret(0);
-
-      __ bind(miss);
-      __ movptr(rax, NULL_WORD);
-      __ ret(0);
-      break;
-    }
-
     case graal_verify_oop_id: {
       // We use enter & leave so that a better stack trace is produced in the hs_err file
       __ enter();
--- a/src/share/vm/c1/c1_Runtime1.cpp	Mon Oct 01 22:00:22 2012 +0200
+++ b/src/share/vm/c1/c1_Runtime1.cpp	Mon Oct 01 22:07:59 2012 +0200
@@ -208,7 +208,6 @@
 #ifdef GRAAL
     case graal_verify_oop_id:
     case graal_unwind_exception_call_id:
-    case graal_slow_subtype_check_id:
     case graal_arithmetic_frem_id:
     case graal_arithmetic_drem_id:
     case graal_set_deopt_info_id:
--- a/src/share/vm/c1/c1_Runtime1.hpp	Mon Oct 01 22:00:22 2012 +0200
+++ b/src/share/vm/c1/c1_Runtime1.hpp	Mon Oct 01 22:07:59 2012 +0200
@@ -71,7 +71,6 @@
   stub(fpu2long_stub)                \
   stub(counter_overflow)             \
   stub(graal_unwind_exception_call)  \
-  stub(graal_slow_subtype_check)     \
   stub(graal_arithmetic_frem)        \
   stub(graal_arithmetic_drem)        \
   stub(graal_monitorenter)           \