Index: src/ia32/virtual-frame-ia32.cc |
=================================================================== |
--- src/ia32/virtual-frame-ia32.cc (revision 2148) |
+++ src/ia32/virtual-frame-ia32.cc (working copy) |
@@ -174,14 +174,8 @@ |
} |
-void VirtualFrame::MakeMergable(int mergable_elements) { |
- if (mergable_elements == JumpTarget::kAllElements) { |
- mergable_elements = element_count(); |
- } |
- ASSERT(mergable_elements <= element_count()); |
- |
- int start_index = element_count() - mergable_elements; |
- for (int i = start_index; i < element_count(); i++) { |
+void VirtualFrame::MakeMergable() { |
+ for (int i = 0; i < element_count(); i++) { |
FrameElement element = elements_[i]; |
if (element.is_constant() || element.is_copy()) { |