changeset 22459:0dd2b79625b3

Remove last pieces of old Graal static stub changes
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Mon, 24 Aug 2015 10:38:13 -0700
parents c2c971a9776f
children f27c163d7dc2
files src/cpu/sparc/vm/compiledIC_sparc.cpp
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/sparc/vm/compiledIC_sparc.cpp	Mon Aug 24 10:21:51 2015 -0700
+++ b/src/cpu/sparc/vm/compiledIC_sparc.cpp	Mon Aug 24 10:38:13 2015 -0700
@@ -102,12 +102,6 @@
 
 void CompiledStaticCall::set_to_interpreted(methodHandle callee, address entry) {
   address stub = find_stub();
-#if INCLUDE_JVMCI
-  if (stub == NULL) {
-    set_destination_mt_safe(entry);
-    return;
-  }
-#endif
   guarantee(stub != NULL, "stub not found");
 
   if (TraceICs) {
@@ -159,12 +153,10 @@
 
   // Verify stub.
   address stub = find_stub();
-#if !INCLUDE_JVMCI
   assert(stub != NULL, "no stub found for static call");
   // Creation also verifies the object.
   NativeMovConstReg* method_holder = nativeMovConstReg_at(stub);
   NativeJump*        jump          = nativeJump_at(method_holder->next_instruction_address());
-#endif
 
   // Verify state.
   assert(is_clean() || is_call_to_compiled() || is_call_to_interpreted(), "sanity check");