Addressed comments, landing.

https://chromiumcodereview.appspot.com/12451003/diff/8016/src/ic.cc
File src/ic.cc (right):

https://chromiumcodereview.appspot.com/12451003/diff/8016/src/ic.cc#newcode1041
src/ic.cc:1041: AssertNoAllocation no_gc;
I removed the one above. The idea was to move that one down here, but I
forgot to remove it. UpdateMegamorphicCache could allocate, so the upper
scope is invalid.

On 2013/03/05 17:32:59, Jakob wrote:
This AssertNoAllocation (and its scope) seem unnecessary, since you
have one on
line 1035 too.

https://chromiumcodereview.appspot.com/12451003/diff/8016/src/stub-cache.cc
File src/stub-cache.cc (right):

https://chromiumcodereview.appspot.com/12451003/diff/8016/src/stub-cache.cc#newcode907
src/stub-cache.cc:907: Code::StubType type = handlers->length() == 1
On 2013/03/05 17:32:59, Jakob wrote:
nit: I have a weak preference for the following formatting, but you
can also
keep what you have if you prefer:

   Code::StubType type = handlers->length() == 1 ?
handlers->at(0)->type()
                                                 : Code::NORMAL;

Done.

https://chromiumcodereview.appspot.com/12451003/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to