Mercurial > hg > truffle
diff src/share/vm/graal/graalCompiler.cpp @ 4443:6fb167f79df6
fixed methodDataOop access
author | Christian Haeubl <christian.haeubl@oracle.com> |
---|---|
date | Mon, 23 Jan 2012 15:02:58 -0800 |
parents | dc6f6e2f1a00 |
children | 7d9469b37f1f |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompiler.cpp Mon Jan 23 13:37:40 2012 -0800 +++ b/src/share/vm/graal/graalCompiler.cpp Mon Jan 23 15:02:58 2012 -0800 @@ -284,7 +284,7 @@ instanceKlass::cast(HotSpotMethodData::klass())->initialize(CHECK_NULL); Handle obj = instanceKlass::cast(HotSpotMethodData::klass())->allocate_instance(CHECK_NULL); - assert(obj.not_null, "must be"); + assert(obj.not_null(), "must succeed in allocating instance"); HotSpotMethodData::set_compiler(obj, VMToCompiler::compilerInstance()()); HotSpotMethodData::set_javaMirror(obj, method_data());