Index: src/ia32/virtual-frame-ia32.cc |
diff --git a/src/ia32/virtual-frame-ia32.cc b/src/ia32/virtual-frame-ia32.cc |
index 1cc91a9fea2b19e16ff26a7c246dc422737d7b71..515a9fe97ad8da53ceafdb081447ba5481facb4f 100644 |
--- a/src/ia32/virtual-frame-ia32.cc |
+++ b/src/ia32/virtual-frame-ia32.cc |
@@ -1306,6 +1306,7 @@ void VirtualFrame::EmitPush(Immediate immediate, TypeInfo info) { |
void VirtualFrame::PushUntaggedElement(Handle<Object> value) { |
+ ASSERT(!ConstantPoolOverflowed()); |
elements_.Add(FrameElement::ConstantElement(value, FrameElement::NOT_SYNCED)); |
elements_[element_count() - 1].set_untagged_int32(true); |
} |