Index: runtime/vm/constants_ia32.h |
=================================================================== |
--- runtime/vm/constants_ia32.h (revision 22393) |
+++ runtime/vm/constants_ia32.h (working copy) |
@@ -75,29 +75,6 @@ |
const Register kStackTraceObjectReg = EDX; |
-// TODO(regis): Move these constants to stack_frame_ia32.h. |
-// Dart stack frame layout. |
-static const int kLastParamSlotIndex = 2; // From fp. |
-static const int kFirstLocalSlotIndex = -2; // From fp. |
-static const int kPcSlotIndexFromSp = -1; |
- |
-/* IA32 Dart Frame Layout |
- |
- | | <- TOS |
-Callee frame | ... | |
- | current ret addr | (PC of current frame) |
- +-------------------+ |
-Current frame | ... | <- ESP of current frame |
- | first local | |
- | PC Marker | (current frame's code entry) |
- | caller's EBP | <- EBP of current frame |
- | caller's ret addr | (PC of caller frame) |
- +-------------------+ |
-Caller frame | last parameter | |
- | ... | |
-*/ |
- |
- |
enum ScaleFactor { |
TIMES_1 = 0, |
TIMES_2 = 1, |