[vmkit-commits] [vmkit] r116298 - /vmkit/branches/release_028/include/mvm/VirtualMachine.h
Nicolas Geoffray
nicolas.geoffray at lip6.fr
Tue Oct 12 02:47:52 PDT 2010
Author: geoffray
Date: Tue Oct 12 04:47:52 2010
New Revision: 116298
URL: http://llvm.org/viewvc/llvm-project?rev=116298&view=rev
Log:
Forgot to commit this file from last commit.
Modified:
vmkit/branches/release_028/include/mvm/VirtualMachine.h
Modified: vmkit/branches/release_028/include/mvm/VirtualMachine.h
URL: http://llvm.org/viewvc/llvm-project/vmkit/branches/release_028/include/mvm/VirtualMachine.h?rev=116298&r1=116297&r2=116298&view=diff
==============================================================================
--- vmkit/branches/release_028/include/mvm/VirtualMachine.h (original)
+++ vmkit/branches/release_028/include/mvm/VirtualMachine.h Tue Oct 12 04:47:52 2010
@@ -400,14 +400,17 @@
ToEnqueue[ToEnqueueIndex++] = obj;
}
-protected:
+public:
/// invokeFinalizer - Invoke the finalizer of the object. This may involve
/// changing the environment, e.g. going to native to Java.
///
virtual void invokeFinalizer(gc*) {}
-
-
-public:
+
+ /// enqueueReference - Calls the enqueue method. Should be overriden
+ /// by the VM.
+ ///
+ virtual bool enqueueReference(gc*) { return false; }
+
/// finalizerStart - The start function of a finalizer. Will poll the
/// finalizationQueue.
///
@@ -505,12 +508,6 @@
/// by the VM.
virtual void setReferent(gc* reference, gc* referent) { }
- /// enqueueReference - Calls the enqueue method. Should be overriden
- /// by the VM.
- ///
- virtual bool enqueueReference(gc*) { return false; }
-
-
public:
/// scanner - Scanner of threads' stacks.
More information about the vmkit-commits
mailing list