hotspot/src/cpu/ppc/vm/cppInterpreter_ppc.cpp
changeset 24322 c2978d1578e3
parent 24018 77b156916bab
child 24349 d8f40e5b392d
--- a/hotspot/src/cpu/ppc/vm/cppInterpreter_ppc.cpp	Mon Apr 28 16:05:12 2014 -0700
+++ b/hotspot/src/cpu/ppc/vm/cppInterpreter_ppc.cpp	Tue Apr 29 08:08:44 2014 +0200
@@ -419,10 +419,8 @@
   // TODO: PPC port: assert(2 == ConstMethod::sz_max_stack(), "unexpected field size");
   __ lhz(max_stack, in_bytes(ConstMethod::max_stack_offset()), max_stack);
 
-  if (EnableInvokeDynamic) {
-    // Take into account 'extra_stack_entries' needed by method handles (see method.hpp).
+  // Take into account 'extra_stack_entries' needed by method handles (see method.hpp).
     __ addi(max_stack, max_stack, Method::extra_stack_entries());
-  }
 
   // mem_stack_limit = thread->stack_limit();
   __ ld(mem_stack_limit, thread_(stack_overflow_limit));