harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfur...@apache.org
Subject svn commit: r596219 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/rt_helper_info.cpp
Date Mon, 19 Nov 2007 08:10:29 GMT
Author: mfursov
Date: Mon Nov 19 00:10:28 2007
New Revision: 596219

URL: http://svn.apache.org/viewvc?rev=596219&view=rev
Log:
Disabling vmmagic package initialization on IPF platform.


Modified:
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/rt_helper_info.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/rt_helper_info.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/rt_helper_info.cpp?rev=596219&r1=596218&r2=596219&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/rt_helper_info.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/rt_helper_info.cpp Mon Nov 19 00:10:28
2007
@@ -376,6 +376,15 @@
 }
 
 jint helper_magic_init(Global_Env * vm_env){
+#ifdef _IPF_
+    bool vmmagics_supported = false;
+#else
+    bool vmmagics_supported = true;
+#endif
+    if (!vmmagics_supported) { //skip vmmagic initialization if the feature is not supported
+        return JNI_OK;
+    }
+
     //init VMHelper class - utility class for all VMHelpers
     Class* magic_helper_class = load_magic_helper_class(vm_env, "org/apache/harmony/drlvm/VMHelper");
     init_magic_helper_class(magic_helper_class);



Mime
View raw message