hotspot/src/cpu/arm/vm/c1_LIRAssembler_arm.cpp
changeset 44738 11431bbc9549
parent 42664 29142a56c193
--- a/hotspot/src/cpu/arm/vm/c1_LIRAssembler_arm.cpp	Wed Apr 19 14:37:11 2017 +0200
+++ b/hotspot/src/cpu/arm/vm/c1_LIRAssembler_arm.cpp	Thu Dec 01 14:21:31 2016 -0500
@@ -1453,10 +1453,11 @@
       ciKlass* k = op->klass();
       assert_different_registers(res, k_RInfo, klass_RInfo, Rtemp);
 
+      if (stub->is_simple_exception_stub()) {
       // TODO: ARM - Late binding is used to prevent confusion of register allocator
       assert(stub->is_exception_throw_stub(), "must be");
       ((SimpleExceptionStub*)stub)->set_obj(op->result_opr());
-
+      }
       ciMethodData* md;
       ciProfileData* data;
       int mdo_offset_bias = 0;