Index: src/ia32/frames-ia32.cc |
diff --git a/src/ia32/frames-ia32.cc b/src/ia32/frames-ia32.cc |
index dea439f24b8986f7d3055929f5ad2caee0bf4a5c..5c900bedd77ca1d60b71a644eac85beb2abcb148 100644 |
--- a/src/ia32/frames-ia32.cc |
+++ b/src/ia32/frames-ia32.cc |
@@ -56,19 +56,14 @@ StackFrame::Type ExitFrame::GetStateForFramePointer(Address fp, State* state) { |
state->fp = fp; |
state->sp = sp; |
state->pc_address = reinterpret_cast<Address*>(sp - 1 * kPointerSize); |
- // Determine frame type. |
- if (Memory::Address_at(fp + ExitFrameConstants::kDebugMarkOffset) != 0) { |
- return EXIT_DEBUG; |
- } else { |
- return EXIT; |
- } |
+ return EXIT; |
} |
void ExitFrame::Iterate(ObjectVisitor* v) const { |
- // Exit frames on IA-32 do not contain any pointers. The arguments |
- // are traversed as part of the expression stack of the calling |
- // frame. |
+ v->VisitPointer(&code_slot()); |
+ // The arguments are traversed as part of the expression stack of |
+ // the calling frame. |
} |