Revision: 21435
Author: [email protected]
Date: Thu May 22 11:52:01 2014 UTC
Log: GCMole evaluation order issue in CallIC::DoCustomHandler().
[email protected]
Review URL: https://codereview.chromium.org/296693011
http://code.google.com/p/v8/source/detail?r=21435
Modified:
/branches/bleeding_edge/src/ic.cc
=======================================
--- /branches/bleeding_edge/src/ic.cc Thu May 22 09:30:02 2014 UTC
+++ /branches/bleeding_edge/src/ic.cc Thu May 22 11:52:01 2014 UTC
@@ -1850,7 +1850,8 @@
isolate()->context()->native_context()->array_function(), isolate());
if (array_function.is_identical_to(Handle<JSFunction>::cast(function))) {
// Alter the slot.
- vector->set(slot->value(), *isolate()->factory()->NewAllocationSite());
+ Handle<AllocationSite> new_site =
isolate()->factory()->NewAllocationSite();
+ vector->set(slot->value(), *new_site);
State new_state = state.ToMonomorphicArrayCallState();
CallICStub stub(isolate(), new_state);
set_target(*stub.GetCode());
--
--
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/d/optout.