Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Unified Diff: src/crankshaft/hydrogen-instructions.h

Issue 1493313002: Reland of Do not remove write barriers for stores of old space references in most recent old space allocation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/crankshaft/hydrogen-instructions.h
diff --git a/src/crankshaft/hydrogen-instructions.h b/src/crankshaft/hydrogen-instructions.h
index 83dc59755ba9786670e0396fc5d45f04bbc9466b..d4026918f3ac256598a663497d8fc645b8322604 100644
--- a/src/crankshaft/hydrogen-instructions.h
+++ b/src/crankshaft/hydrogen-instructions.h
@@ -5692,15 +5692,6 @@
if (value->IsConstant() && HConstant::cast(value)->NotInNewSpace()) {
return false;
}
- // Stores to old space allocations require no write barriers if the value is
- // an old space allocation.
- while (value->IsInnerAllocatedObject()) {
- value = HInnerAllocatedObject::cast(value)->base_object();
- }
- if (value->IsAllocate() &&
- !HAllocate::cast(value)->IsNewSpaceAllocation()) {
- return false;
- }
}
return true;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698