http://codereview.chromium.org/100253/diff/1/4
File src/virtual-frame.cc (right):

http://codereview.chromium.org/100253/diff/1/4#newcode528
Line 528: capacity_ = new_capacity;
This code looks basically copy and pasted.  What about doing:

ResizeAdd calls ResizeAddInternal

Specialize ResizeAdd here, but still call ResizeAddInternal.  That means
the code will be inlined, but just in this function.  You now no longer
have the code copy and pasted.

http://codereview.chromium.org/100253

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to