comparison Jint.Runtime/VM/OpCodes/Codes.cs @ 3:aced2ae9957f

temp commit, new virtual machine concept (strongly typed version of VM2).
author cin
date Sun, 27 Oct 2013 17:23:25 +0400
parents 033ebe7432d5
children 1ae5b10f7a10
comparison
equal deleted inserted replaced
2:4aed85a1f558 3:aced2ae9957f
1 using System; 1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
2 5
3 namespace Jint.Runtime 6 namespace Jint.Runtime.VM.OpCodes {
4 { 7 enum Codes: int {
5 public enum Codes: int 8 Noop = 0,
6 { 9
7 Add = 1 10 Add,
8 } 11 Sub,
12 Div,
13 Mul,
14
15 BAnd,
16 BOr,
17 BNot,
18
19 LAnd,
20 LOr,
21 LNot,
22
23 Gte,
24 Lte,
25 Gt,
26 Lt,
27 Eq,
28 Ne,
29
30 MaxOp
31 }
9 } 32 }
10