Mercurial > hg > graal-compiler
diff src/share/vm/c1/c1_LIRAssembler.cpp @ 6616:7a302948f5a4
7192167: JSR 292: C1 has old broken code which needs to be removed
Reviewed-by: kvn, roland, jrose
author | twisti |
---|---|
date | Tue, 21 Aug 2012 10:48:50 -0700 |
parents | 6759698e3140 |
children | c38f13903fdf da91efe96a93 |
line wrap: on
line diff
--- a/src/share/vm/c1/c1_LIRAssembler.cpp Mon Aug 20 09:58:58 2012 -0700 +++ b/src/share/vm/c1/c1_LIRAssembler.cpp Tue Aug 21 10:48:50 2012 -0700 @@ -448,10 +448,10 @@ switch (op->code()) { case lir_static_call: + case lir_dynamic_call: call(op, relocInfo::static_call_type); break; case lir_optvirtual_call: - case lir_dynamic_call: call(op, relocInfo::opt_virtual_call_type); break; case lir_icvirtual_call: @@ -460,7 +460,9 @@ case lir_virtual_call: vtable_call(op); break; - default: ShouldNotReachHere(); + default: + fatal(err_msg_res("unexpected op code: %s", op->name())); + break; } // JSR 292