Mercurial > hg > truffle
comparison src/share/vm/graal/graalVMEntries.cpp @ 3622:05b6ae7c23b1
fix build warnings
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Wed, 09 Nov 2011 15:49:51 +0100 |
parents | 75e92277ad05 |
children | 136ea96eb7f8 |
comparison
equal
deleted
inserted
replaced
3621:75e92277ad05 | 3622:05b6ae7c23b1 |
---|---|
1001 nmethod* nm = NULL; | 1001 nmethod* nm = NULL; |
1002 if (CURRENT_ENV == NULL) { | 1002 if (CURRENT_ENV == NULL) { |
1003 Arena arena; | 1003 Arena arena; |
1004 ciEnv env(&arena); | 1004 ciEnv env(&arena); |
1005 ResourceMark rm; | 1005 ResourceMark rm; |
1006 CodeInstaller installer(JNIHandles::resolve(targetMethod), nm, install_code); | 1006 CodeInstaller installer(JNIHandles::resolve(targetMethod), nm, install_code != 0); |
1007 } else { | 1007 } else { |
1008 ResourceMark rm; | 1008 ResourceMark rm; |
1009 CodeInstaller installer(JNIHandles::resolve(targetMethod), nm, install_code); | 1009 CodeInstaller installer(JNIHandles::resolve(targetMethod), nm, install_code != 0); |
1010 } | 1010 } |
1011 return (jlong) nm; | 1011 return (jlong) nm; |
1012 } | 1012 } |
1013 | 1013 |
1014 // public HotSpotProxy installStub(HotSpotTargetMethod targetMethod, String name); | 1014 // public HotSpotProxy installStub(HotSpotTargetMethod targetMethod, String name); |