Mercurial > hg > graal-jvmci-8
diff src/share/vm/ci/ciMethod.cpp @ 7998:6a51fc70a15e
8006613: adding reason to made_not_compilable
Reviewed-by: kvn, vlivanov
Contributed-by: Igor Ignatyev <igor.ignatyev@oracle.com>
author | vlivanov |
---|---|
date | Tue, 05 Feb 2013 08:25:51 -0800 |
parents | fcc9e7681d63 |
children | 5fc51c1ecdeb 16885e702c88 |
line wrap: on
line diff
--- a/src/share/vm/ci/ciMethod.cpp Mon Feb 04 11:30:37 2013 +0100 +++ b/src/share/vm/ci/ciMethod.cpp Tue Feb 05 08:25:51 2013 -0800 @@ -977,7 +977,7 @@ // ciMethod::set_not_compilable // // Tell the VM that this method cannot be compiled at all. -void ciMethod::set_not_compilable() { +void ciMethod::set_not_compilable(const char* reason) { check_is_loaded(); VM_ENTRY_MARK; ciEnv* env = CURRENT_ENV; @@ -986,7 +986,7 @@ } else { _is_c2_compilable = false; } - get_Method()->set_not_compilable(env->comp_level()); + get_Method()->set_not_compilable(env->comp_level(), true, reason); } // ------------------------------------------------------------------