Mercurial > hg > graal-compiler
comparison src/share/vm/graal/graalCompiler.cpp @ 5062:5e9f38419819
Adjust C++ part according to the renaming.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 08 Mar 2012 19:24:41 +0100 |
parents | 2f2c6347fce4 |
children | 95b8a32a7cc3 51111665eda6 |
comparison
equal
deleted
inserted
replaced
5061:e808627bd16f | 5062:5e9f38419819 |
---|---|
49 | 49 |
50 initialize_buffer_blob(); | 50 initialize_buffer_blob(); |
51 Runtime1::initialize(THREAD->get_buffer_blob()); | 51 Runtime1::initialize(THREAD->get_buffer_blob()); |
52 | 52 |
53 JNIEnv *env = ((JavaThread *) Thread::current())->jni_environment(); | 53 JNIEnv *env = ((JavaThread *) Thread::current())->jni_environment(); |
54 jclass klass = env->FindClass("com/oracle/max/graal/hotspot/bridge/CompilerToVMImpl"); | 54 jclass klass = env->FindClass("com/oracle/graal/hotspot/bridge/CompilerToVMImpl"); |
55 if (klass == NULL) { | 55 if (klass == NULL) { |
56 tty->print_cr("graal CompilerToVMImpl class not found"); | 56 tty->print_cr("graal CompilerToVMImpl class not found"); |
57 vm_abort(false); | 57 vm_abort(false); |
58 } | 58 } |
59 env->RegisterNatives(klass, CompilerToVM_methods, CompilerToVM_methods_count()); | 59 env->RegisterNatives(klass, CompilerToVM_methods, CompilerToVM_methods_count()); |