Mercurial > pub > Jint1
view Jint.Runtime/VM/OpCodes/LteCmp.cs @ 8:5b2302d3ac4f default tip
Слияние
author | cin |
---|---|
date | Wed, 30 Oct 2013 20:44:42 +0400 |
parents | cb13da6e3349 |
children |
line wrap: on
line source
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Jint.Runtime.VM.OpCodes { class LteCmp: IInstruction { int m_arg1; int m_arg2; int m_dest; IInstruction m_next; public LteCmp(int arg1, int arg2, int dest) { m_arg1 = arg1; m_arg2 = arg2; m_dest = dest; } public IInstruction Chain(IInstruction next) { return m_next = next; } public IInstruction Invoke(Frame frame) { frame.SetValue(m_dest, frame[m_arg1].InvokeCompareOperation(m_arg2, frame) <= 0); return m_next; } } }