Mercurial > hg > graal-compiler
comparison src/share/vm/c1x/c1x_Compiler.cpp @ 2501:6594e6d8bfe7
Rebranding to com.oracle.graal
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Tue, 26 Apr 2011 21:10:53 +0200 |
parents | ad9b14650e15 |
children | 3e3e8bd12730 |
comparison
equal
deleted
inserted
replaced
2500:f100b972fd19 | 2501:6594e6d8bfe7 |
---|---|
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/sun/hotspot/c1x/VMEntriesNative"); | 54 jclass klass = env->FindClass("com/oracle/graal/runtime/VMEntriesNative"); |
55 if (klass == NULL) { | 55 if (klass == NULL) { |
56 fatal("c1x VMEntries class not found"); | 56 fatal("c1x VMEntries class not found"); |
57 } | 57 } |
58 env->RegisterNatives(klass, VMEntries_methods, VMEntries_methods_count()); | 58 env->RegisterNatives(klass, VMEntries_methods, VMEntries_methods_count()); |
59 | 59 |