Commit d6784553 authored by Stephanie Gawroriski's avatar Stephanie Gawroriski
Browse files

Minor initial work on the stack map builder.

parent 6b2b86fb
......@@ -25,6 +25,15 @@ public class StackMapTableBuilder
/** The constant pool, needed for type decoding. */
protected final Pool pool;
/** Entries which are in local variables. */
private final StackMapType[] _locals;
/** Entries which are on the stack. */
private final StackMapType[] _stack;
/** The depth of the stack. */
private volatile int _depth;
* Initializes the stack map table builder.
......@@ -53,6 +62,14 @@ public class StackMapTableBuilder
this.code = __bc;
this.pool = __pool;
// The stack is always empty on initial entry
this._stack = new StackMapType[__ns];
// Locals are initialized according to the argument types
StackMapType[] locals = new StackMapType[__nl];
this._locals = locals;
throw new todo.TODO();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment