Mercurial > hg > graal-jvmci-8
diff src/share/vm/opto/graphKit.hpp @ 22985:eb8b5cc64669
8063137: Never-taken branches should be pruned when GWT LambdaForms are shared
Reviewed-by: jrose, kvn
author | vlivanov |
---|---|
date | Thu, 29 Jan 2015 10:25:59 -0800 |
parents | 411e30e5fbb8 |
children | c1c199dde5c9 |
line wrap: on
line diff
--- a/src/share/vm/opto/graphKit.hpp Tue Apr 28 00:37:33 2015 -0700 +++ b/src/share/vm/opto/graphKit.hpp Thu Jan 29 10:25:59 2015 -0800 @@ -708,6 +708,15 @@ klass, reason_string, must_throw, keep_exact_action); } + // Bail out to the interpreter and keep exact action (avoid switching to Action_none). + void uncommon_trap_exact(Deoptimization::DeoptReason reason, + Deoptimization::DeoptAction action, + ciKlass* klass = NULL, const char* reason_string = NULL, + bool must_throw = false) { + uncommon_trap(Deoptimization::make_trap_request(reason, action), + klass, reason_string, must_throw, /*keep_exact_action=*/true); + } + // SP when bytecode needs to be reexecuted. virtual int reexecute_sp() { return sp(); }