Revision: 18727
Author:   [email protected]
Date:     Wed Jan 22 08:46:39 2014 UTC
Log: ResetAllAllocationSitesDependentCode is not changing dependent code, assert removed.

BUG=
[email protected]

Review URL: https://codereview.chromium.org/138163014
http://code.google.com/p/v8/source/detail?r=18727

Modified:
 /branches/bleeding_edge/src/heap.cc
 /branches/bleeding_edge/src/objects.cc

=======================================
--- /branches/bleeding_edge/src/heap.cc Tue Jan 21 16:22:52 2014 UTC
+++ /branches/bleeding_edge/src/heap.cc Wed Jan 22 08:46:39 2014 UTC
@@ -1986,7 +1986,6 @@


 void Heap::ResetAllAllocationSitesDependentCode(PretenureFlag flag) {
-  ASSERT(AllowCodeDependencyChange::IsAllowed());
   DisallowHeapAllocation no_allocation_scope;
   Object* cur = allocation_sites_list();
   bool marked = false;
=======================================
--- /branches/bleeding_edge/src/objects.cc      Tue Jan 21 16:22:52 2014 UTC
+++ /branches/bleeding_edge/src/objects.cc      Wed Jan 22 08:46:39 2014 UTC
@@ -11799,7 +11799,6 @@
 bool DependentCode::MarkCodeForDeoptimization(
     Isolate* isolate,
     DependentCode::DependencyGroup group) {
-  ASSERT(AllowCodeDependencyChange::IsAllowed());
   DisallowHeapAllocation no_allocation_scope;
   DependentCode::GroupStartIndexes starts(this);
   int start = starts.at(group);

--
--
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