diff Jint.Runtime/VM2/Box.cs @ 1:033ebe7432d5

vm v2
author cin
date Thu, 24 Oct 2013 19:45:57 +0400
parents
children 4aed85a1f558
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Jint.Runtime/VM2/Box.cs	Thu Oct 24 19:45:57 2013 +0400
@@ -0,0 +1,19 @@
+using System;
+
+namespace Jint.Runtime.VM2
+{
+	using OpCodes;
+
+	public class Box
+	{
+		public Operation[] impl;
+		public object value;
+
+		public Type HoldingType {
+			get {
+				return value == null ? null : value.GetType ();
+			}
+		}
+	}
+}
+