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

Unified Diff: src/hydrogen.cc

Issue 1009933002: Bugfix in hydrogen GVN. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Spurious change in the test removed Created 5 years, 9 months 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 | test/mjsunit/regress/regress-467481.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen.cc
diff --git a/src/hydrogen.cc b/src/hydrogen.cc
index 14046b410d476ecf2173e928a960a51068901317..c44ba8a479a4ef9f06f08a590722af73fb60b802 100644
--- a/src/hydrogen.cc
+++ b/src/hydrogen.cc
@@ -6921,9 +6921,6 @@ HInstruction* HOptimizedGraphBuilder::BuildMonomorphicElementAccess(
PropertyAccessType access_type,
KeyedAccessStoreMode store_mode) {
HCheckMaps* checked_object = Add<HCheckMaps>(object, map, dependency);
- if (dependency) {
- checked_object->ClearDependsOnFlag(kElementsKind);
- }
if (access_type == STORE && map->prototype()->IsJSObject()) {
// monomorphic stores need a prototype chain check because shape
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-467481.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698