annotate Jint.Runtime/VM/AbstractBox.cs @ 5:cb13da6e3349

simple loop test
author cin
date Mon, 28 Oct 2013 00:49:15 +0400
parents 1ae5b10f7a10
children a6329b092499
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
1 using System;
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
2 using System.Collections.Generic;
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
3 using System.Linq;
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
4 using System.Text;
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
5
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
6 namespace Jint.Runtime.VM {
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
7 using OpCodes;
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
8
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
9 abstract class AbstractBox {
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
10
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
11 protected AbstractBox(Type type) {
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
12 holdingType = type;
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
13 }
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
14
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
15 public readonly Type holdingType;
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
16
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
17 public abstract void InvokeBinaryOperation(Codes code, int arg2, int dest, Frame frame);
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
18 public abstract void InvokeUnaryOperation(Codes code, int dest, Frame frame);
5
cb13da6e3349 simple loop test
cin
parents: 4
diff changeset
19 public abstract int InvokeCompareOperation(int arg2, Frame frame);
cb13da6e3349 simple loop test
cin
parents: 4
diff changeset
20 public abstract bool InvokeEqualityOperation(int arg2, Frame frame);
cb13da6e3349 simple loop test
cin
parents: 4
diff changeset
21 public abstract T Convert<T>();
4
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
22 }
1ae5b10f7a10 Code cleanup, minor refactoring
cin
parents:
diff changeset
23 }