tamarin-const-workitem.patch
author Benjamin Smedberg <benjamin@smedbergs.us>
Sat, 26 Jul 2008 22:49:39 -0400
changeset 167 a4da40849f5436e629c5732f4368c6c48189637f
parent 149 13eaa3adde4be1d470346a98e7cc7ab6b2ada1c8
permissions -rw-r--r--
State as of now

diff -r 7e0cd0171cc3 js/tamarin/MMgc/GC.h
--- a/js/tamarin/MMgc/GC.h	Wed Jul 02 13:25:08 2008 -0700
+++ b/js/tamarin/MMgc/GC.h	Wed Jul 02 13:28:01 2008 -0700
@@ -1135,7 +1135,7 @@ namespace MMgc
 		uintptr	GetStackTop() const;
 
 		// for deciding a tree of things should be scanned from presweep
-		void PushWorkItem(GCWorkItem &item) { PushWorkItem(m_incrementalWork, item); }
+		void PushWorkItem(const GCWorkItem &item) { PushWorkItem(m_incrementalWork, item); }
 
 	private: