Index: runtime/vm/stub_code_ia32.cc |
=================================================================== |
--- runtime/vm/stub_code_ia32.cc (revision 21968) |
+++ runtime/vm/stub_code_ia32.cc (working copy) |
@@ -322,7 +322,7 @@ |
// - Fill the unoptimized frame. |
// - Materialize objects that require allocation (e.g. Double instances). |
// GC can occur only after frame is fully rewritten. |
-// Stack: |
+// Stack after EnterFrame(0) below: |
// +------------------+ |
// | Saved FP | <- TOS |
// +------------------+ |
@@ -353,9 +353,8 @@ |
offset += kFpuRegisterSize; |
} |
- __ movl(ECX, ESP); // Saved saved registers block. |
+ __ movl(ECX, ESP); // Preserve saved registers block. |
__ ReserveAlignedFrameSpace(1 * kWordSize); |
- __ SmiUntag(EAX); |
__ movl(Address(ESP, 0), ECX); // Start of register block. |
__ CallRuntime(kDeoptimizeCopyFrameRuntimeEntry); |
// Result (EAX) is stack-size (FP - SP) in bytes, incl. the return address. |