Index: src/virtual-frame-heavy-inl.h |
diff --git a/src/virtual-frame-heavy-inl.h b/src/virtual-frame-heavy-inl.h |
index 2755eee648d37e1b4e9bef13bcffbb4f1fecf169..ac844b44c7aa2e681059c6ec0a421a2b169962cb 100644 |
--- a/src/virtual-frame-heavy-inl.h |
+++ b/src/virtual-frame-heavy-inl.h |
@@ -82,7 +82,13 @@ void VirtualFrame::Push(Register reg, TypeInfo info) { |
} |
+bool VirtualFrame::ConstantPoolOverflowed() { |
+ return FrameElement::ConstantPoolOverflowed(); |
+} |
+ |
+ |
void VirtualFrame::Push(Handle<Object> value) { |
+ ASSERT(!ConstantPoolOverflowed()); |
FrameElement element = |
FrameElement::ConstantElement(value, FrameElement::NOT_SYNCED); |
elements_.Add(element); |