Iterator<Binding> iterator = getBindings().iterator();
while (iterator.hasNext()) {
Binding binding = iterator.next();
binding.compile(mv, compileContext);
}
// check stack heights
if (compileContext.getStackCount() != currentStack) {
throw new CompileException("Event.compile : invalid stack height " + compileContext.getStackCount() + " expecting " + currentStack);