diff Jint.Runtime/VM/OpCodes/AbstractBinaryOp.cs @ 7:17543aa3aced

sync
author cin
date Tue, 29 Oct 2013 07:04:33 +0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Jint.Runtime/VM/OpCodes/AbstractBinaryOp.cs	Tue Oct 29 07:04:33 2013 +0400
@@ -0,0 +1,25 @@
+using System;
+
+namespace Jint.Runtime.VM.OpCodes
+{
+    abstract class AbstractBinaryOp: AbstractOp
+    {
+        protected int m_arg1;
+        protected int m_arg2;
+        protected int m_dest;
+
+        protected AbstractBinaryOp (int arg1, int arg2, int dest)
+        {
+            m_arg1 = arg1;
+            m_arg2 = arg2;
+            m_dest = dest;
+        }
+
+        #region IInstruction implementation
+
+        public abstract IInstruction Invoke (Frame frame);
+
+        #endregion
+    }
+}
+