Index: src/deoptimizer.cc |
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc |
index 077337fbd089ec37dabb097817b7251bcd85c178..76f2fa9bd761a84c83990185ebff790b395badfe 100644 |
--- a/src/deoptimizer.cc |
+++ b/src/deoptimizer.cc |
@@ -1522,6 +1522,7 @@ void Deoptimizer::DoComputeCompiledStubFrame(TranslationIterator* iterator, |
output_frame->SetRegister(context_reg.code(), value); |
output_frame_offset -= kPointerSize; |
output_frame->SetFrameSlot(output_frame_offset, value); |
+ ASSERT(reinterpret_cast<Object*>(value)->IsContext()); |
if (trace_scope_ != NULL) { |
PrintF(trace_scope_->file(), |
" 0x%08" V8PRIxPTR ": [top + %d] <- 0x%08" |