harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From var...@apache.org
Subject svn commit: r503662 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/ipf/base/jit_runtime_support_ipf.cpp
Date Mon, 05 Feb 2007 12:49:35 GMT
Author: varlax
Date: Mon Feb  5 04:49:34 2007
New Revision: 503662

URL: http://svn.apache.org/viewvc?view=rev&rev=503662
Log:
IPF compilation fix after H-3087

Modified:
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/ipf/base/jit_runtime_support_ipf.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/ipf/base/jit_runtime_support_ipf.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/ipf/base/jit_runtime_support_ipf.cpp?view=diff&rev=503662&r1=503661&r2=503662
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/ipf/base/jit_runtime_support_ipf.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/ipf/base/jit_runtime_support_ipf.cpp Mon
Feb  5 04:49:34 2007
@@ -690,9 +690,8 @@
     const unsigned sc8 = SCRATCH_GENERAL_REG8;
     const unsigned sc9 = SCRATCH_GENERAL_REG9;
 
-    Class *dummy_class = NULL;
-    const int offset_is_suitable = (int)Class::get_offset_of_fast_instanceof_flag(dummy_class);
-    const int offset_depth = (int)Class::get_offset_of_depth(dummy_class);
+    const int offset_is_suitable = (int)Class::get_offset_of_fast_instanceof_flag();
+    const int offset_depth = (int)Class::get_offset_of_depth();
 
     VTable *dummy_vtable = NULL;
     const int offset_superclasses = (int) ((Byte*)&dummy_vtable->superclasses[-1]
- (Byte*)dummy_vtable);
@@ -981,8 +980,7 @@
     const int sc4 = SCRATCH_GENERAL_REG4;
     const int sc5 = SCRATCH_GENERAL_REG7;
 
-    Class *dummy_class = NULL;
-    const int offset_array_element_class = Class::get_offset_of_array_element_class(dummy_class);
+    const int offset_array_element_class = Class::get_offset_of_array_element_class();
 
     VTable *dummy_vtable = NULL;
     const int offset_clss = (int) ((Byte*)&dummy_vtable->clss - (Byte*)dummy_vtable);



Mime
View raw message