projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #4155 from BrzVlad/fix-tls-lmf-addr
[mono.git]
/
mcs
/
class
/
dlr
/
Runtime
/
Microsoft.Dynamic
/
Interpreter
/
Instructions
/
StackOperations.cs
diff --git
a/mcs/class/dlr/Runtime/Microsoft.Dynamic/Interpreter/Instructions/StackOperations.cs
b/mcs/class/dlr/Runtime/Microsoft.Dynamic/Interpreter/Instructions/StackOperations.cs
index e2c9e7d1ab7141f1d2ee9ef8e7bba6871e2aa142..6cff464f0aac63c812880e954c8a576d6080e66d 100644
(file)
--- a/
mcs/class/dlr/Runtime/Microsoft.Dynamic/Interpreter/Instructions/StackOperations.cs
+++ b/
mcs/class/dlr/Runtime/Microsoft.Dynamic/Interpreter/Instructions/StackOperations.cs
@@
-106,7
+106,8
@@
namespace Microsoft.Scripting.Interpreter {
public override int ProducedStack { get { return 1; } }
public override int Run(InterpretedFrame frame) {
- frame.Data[frame.StackIndex++] = frame.Peek();
+ frame.Data[frame.StackIndex] = frame.Peek();
+ frame.StackIndex++;
return +1;
}