Index: src/ia32/deoptimizer-ia32.cc |
diff --git a/src/ia32/deoptimizer-ia32.cc b/src/ia32/deoptimizer-ia32.cc |
index 5fbee322b6e295ce069c39ed76157f4394529966..65cf7e93b54687d8ea1c9122b20fde41cd6f6f90 100644 |
--- a/src/ia32/deoptimizer-ia32.cc |
+++ b/src/ia32/deoptimizer-ia32.cc |
@@ -220,7 +220,7 @@ bool Deoptimizer::HasAlignmentPadding(JSFunction* function) { |
StandardFrameConstants::kFixedFrameSize - |
kPointerSize; |
DCHECK(JavaScriptFrameConstants::kDynamicAlignmentStateOffset == |
- JavaScriptFrameConstants::kLocal0Offset); |
+ JavaScriptFrameConstants::kFeedbackVectorOffset); |
int32_t alignment_state = input_->GetFrameSlot(alignment_state_offset); |
return (alignment_state == kAlignmentPaddingPushed); |
} |