Index: src/virtual-frame.cc |
=================================================================== |
--- src/virtual-frame.cc (revision 1640) |
+++ src/virtual-frame.cc (working copy) |
@@ -53,7 +53,7 @@ |
VirtualFrame::VirtualFrame(VirtualFrame* original) |
: cgen_(original->cgen_), |
masm_(original->masm_), |
- elements_(original->elements_.length()), |
+ elements_(original->elements_.capacity()), |
parameter_count_(original->parameter_count_), |
local_count_(original->local_count_), |
stack_pointer_(original->stack_pointer_), |