harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r567655 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_init.cpp
Date Mon, 20 Aug 2007 11:10:49 GMT
Author: gshimansky
Date: Mon Aug 20 04:10:49 2007
New Revision: 567655

URL: http://svn.apache.org/viewvc?rev=567655&view=rev
Log:
Fixed the mistake in commit 567096. The native_thread should be initialized in "if"


Modified:
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_init.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_init.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_init.cpp?rev=567655&r1=567654&r2=567655&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_init.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_init.cpp Mon Aug 20 04:10:49 2007
@@ -598,7 +598,7 @@
 
     native_thread = hythread_self();
     if (!native_thread) {
-        hythread_t native_thread = (hythread_t)STD_CALLOC(1, hythread_get_struct_size());
+        native_thread = (hythread_t)STD_CALLOC(1, hythread_get_struct_size());
         assert(native_thread);
         IDATA hy_status = hythread_attach_to_group(native_thread, NULL, NULL);
         if (hy_status != TM_ERROR_NONE)



Mime
View raw message