harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ibere...@apache.org
Subject svn commit: r965153 - in /harmony/enhanced/java/trunk/drlvm/vm/vmcore: include/compile.h src/util/ia32/base/jit_runtime_support_ia32.cpp
Date Sun, 18 Jul 2010 02:09:36 GMT
Author: iberezhn
Date: Sun Jul 18 02:09:35 2010
New Revision: 965153

URL: http://svn.apache.org/viewvc?rev=965153&view=rev
Log:
Fixed some warnings in vmcore

Modified:
    harmony/enhanced/java/trunk/drlvm/vm/vmcore/include/compile.h
    harmony/enhanced/java/trunk/drlvm/vm/vmcore/src/util/ia32/base/jit_runtime_support_ia32.cpp

Modified: harmony/enhanced/java/trunk/drlvm/vm/vmcore/include/compile.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/drlvm/vm/vmcore/include/compile.h?rev=965153&r1=965152&r2=965153&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/drlvm/vm/vmcore/include/compile.h (original)
+++ harmony/enhanced/java/trunk/drlvm/vm/vmcore/include/compile.h Sun Jul 18 02:09:35 2010
@@ -104,9 +104,9 @@ typedef void (Override_Generator)(Emitte
 typedef unsigned (Override_Size)(Method *);
 
 typedef struct Stub_Override_Entry {
-    char *class_name;
-    char *method_name;
-    char *descriptor;
+    const char *class_name;
+    const char *method_name;
+    const char *descriptor;
     Override_Generator *override_generator;
     Override_Size *override_size;
 } Stub_Override_Entry;

Modified: harmony/enhanced/java/trunk/drlvm/vm/vmcore/src/util/ia32/base/jit_runtime_support_ia32.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/drlvm/vm/vmcore/src/util/ia32/base/jit_runtime_support_ia32.cpp?rev=965153&r1=965152&r2=965153&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/drlvm/vm/vmcore/src/util/ia32/base/jit_runtime_support_ia32.cpp
(original)
+++ harmony/enhanced/java/trunk/drlvm/vm/vmcore/src/util/ia32/base/jit_runtime_support_ia32.cpp
Sun Jul 18 02:09:35 2010
@@ -301,7 +301,7 @@ static void *getaddress__vm_initialize_c
 
 static void *generate_object_allocation_stub_with_thread_pointer(char *fast_obj_alloc_proc,
                                                                  char *slow_obj_alloc_proc,
-                                                                 char *stub_name)
+                                                                 const char *stub_name)
 {
     const int stub_size = 52+26;
     char *stub = (char *)malloc_fixed_code_for_jit(stub_size, DEFAULT_CODE_ALIGNMENT, CODE_BLOCK_HEAT_MAX/2,
CAA_Allocate);
@@ -617,7 +617,7 @@ static void *getaddress__vm_aastore()
 
 
 
-static void * gen_new_vector_stub(char *stub_name, char *fast_new_vector_proc, char *slow_new_vector_proc)
+static void * gen_new_vector_stub(const char *stub_name, char *fast_new_vector_proc, char
*slow_new_vector_proc)
 {
     const int stub_size = 52;
     char *stub = (char *)malloc_fixed_code_for_jit(stub_size, DEFAULT_CODE_ALIGNMENT, CODE_BLOCK_HEAT_MAX/2,
CAA_Allocate);



Mime
View raw message