Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index b88b73da8db84d033ea628ed312e0a25d72f8123..6df5d3544601e3eb135ea9b3e17e791b421da742 100644 |
--- a/src/frames.cc |
+++ b/src/frames.cc |
@@ -491,16 +491,7 @@ StackFrame::Type StackFrame::GetCallerState(State* state) const { |
Address StackFrame::UnpaddedFP() const { |
-#if V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_X87 |
- if (!is_optimized()) return fp(); |
- int32_t alignment_state = Memory::int32_at( |
- fp() + JavaScriptFrameConstants::kDynamicAlignmentStateOffset); |
- |
- return (alignment_state == kAlignmentPaddingPushed) ? |
- (fp() + kPointerSize) : fp(); |
-#else |
return fp(); |
-#endif |
} |