[vmkit-commits] [vmkit] r109980 - /vmkit/trunk/lib/J3/LLVMRuntime/runtime-default.ll

Nicolas Geoffray nicolas.geoffray at lip6.fr
Sun Aug 1 06:46:00 PDT 2010


Author: geoffray
Date: Sun Aug  1 08:46:00 2010
New Revision: 109980

URL: http://llvm.org/viewvc/llvm-project?rev=109980&view=rev
Log:
Methods that return a JavaObject should not be marked readnone, as that object may have moved in-between the calls.


Modified:
    vmkit/trunk/lib/J3/LLVMRuntime/runtime-default.ll

Modified: vmkit/trunk/lib/J3/LLVMRuntime/runtime-default.ll
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/J3/LLVMRuntime/runtime-default.ll?rev=109980&r1=109979&r2=109980&view=diff
==============================================================================
--- vmkit/trunk/lib/J3/LLVMRuntime/runtime-default.ll (original)
+++ vmkit/trunk/lib/J3/LLVMRuntime/runtime-default.ll Sun Aug  1 08:46:00 2010
@@ -150,8 +150,7 @@
 ;;; j3StaticFieldLookup - Look up a specific static field.
 declare i8* @j3StaticFieldLookup(%JavaClass*, i32, ...)
 
-;;; j3StringLookup - Find the isolate-specific string at the given offset in
-;;; the constant pool.
+;;; j3StringLookup - Get a pointer on a string.
 declare i8* @j3StringLookup(%JavaClass*, i32, ...) readnone
 
 ;;; j3JavaObjectAquire - This function is called when starting a synchronized
@@ -176,12 +175,12 @@
 ;;; getClassDelegatee - Returns the java/lang/Class representation of the
 ;;; class. This method is lowered to the GEP to the class delegatee in
 ;;; the common class.
-declare %JavaObject* @getClassDelegatee(%JavaCommonClass*) readnone 
+declare %JavaObject* @getClassDelegatee(%JavaCommonClass*)
 
 ;;; j3RuntimeDelegatee - Returns the java/lang/Class representation of the
 ;;; class. This method is called if the class delegatee has not been created
 ;;; yet.
-declare %JavaObject* @j3RuntimeDelegatee(%JavaCommonClass*) readnone 
+declare %JavaObject* @j3RuntimeDelegatee(%JavaCommonClass*)
 
 ;;; j3GetArrayClass - Get the array user class of the user class.
 declare %VT* @j3GetArrayClass(%JavaClass*, i32, %VT**) readnone
@@ -192,7 +191,6 @@
 declare i64 @getFinalLongField(i64*) readnone
 declare double @getFinalDoubleField(double*) readnone
 declare float @getFinalFloatField(float*) readnone
-declare %JavaObject* @getFinalObjectField(%JavaObject**) readnone
 
 declare i8* @j3ResolveVirtualStub(%JavaObject*)
 declare i8* @j3ResolveSpecialStub()





More information about the vmkit-commits mailing list