harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From var...@apache.org
Subject svn commit: r540841 - in /harmony/enhanced/drlvm/trunk/vm: jitrino/src/optimizer/FastArrayFilling.cpp vmcore/src/gc/root_set_enum_common.cpp
Date Wed, 23 May 2007 04:57:34 GMT
Author: varlax
Date: Tue May 22 21:57:33 2007
New Revision: 540841

URL: http://svn.apache.org/viewvc?view=rev&rev=540841
Log:
Win64 warnings fixed

Modified:
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/FastArrayFilling.cpp
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/gc/root_set_enum_common.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/FastArrayFilling.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/FastArrayFilling.cpp?view=diff&rev=540841&r1=540840&r2=540841
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/FastArrayFilling.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/FastArrayFilling.cpp Tue May 22
21:57:33 2007
@@ -111,7 +111,7 @@
         }
         //compute number of nodes of the loop
         Nodes loopNodes = info->getLoopNode(node,false)->getNodesInLoop();
-        unsigned sz = loopNodes.size();
+        size_t sz = loopNodes.size();
         if (sz!=3) {
             continue;
         }

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/gc/root_set_enum_common.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/gc/root_set_enum_common.cpp?view=diff&rev=540841&r1=540840&r2=540841
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/gc/root_set_enum_common.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/gc/root_set_enum_common.cpp Tue May 22 21:57:33
2007
@@ -305,7 +305,7 @@
                 JIT *jit = cci->get_jit();
                 NativeCodePtr ip = si_get_ip(si);
                 uint32 inlined_depth = si_get_inline_depth(si);
-                uint32 offset = (POINTER_SIZE_INT)ip - (POINTER_SIZE_INT)cci->get_code_block_addr();
+                uint32 offset = (uint32)((POINTER_SIZE_INT)ip - (POINTER_SIZE_INT)cci->get_code_block_addr());
                 for (uint32 i = 0; i < inlined_depth; i++) {
                     Method* m = jit->get_inlined_method(cci->get_inline_info(), offset,
i);
                     assert (m);



Mime
View raw message