[Mono-list] .maxstack instruction

Santiago Faci 459874@ingta.unizar.es
14 Jun 2002 04:04:37 +0200


Hi,
I know .maxstack instruction is to reserve slots of memory on stack.
But, if I reserve one slot (.maxstack 1) in a method and I use more than
1 slot of stack the program run correctly under Mono; don't should it
crash? An error should be occur because I have reserved less slots than
slots I use.

for example, a piece of my program:

....
.maxstack 1
....
ldc.i4.2	
ldc.i4.5	
add
...........

This example runs correctly under Mono.


Thank you
Santi