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

Unified Diff: src/hydrogen.cc

Issue 292993003: Revert "Refactor transitioning stores." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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 | « src/arm64/lithium-codegen-arm64.cc ('k') | src/hydrogen-check-elimination.cc » ('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 c7b8eea46cc9dd3d5587d1291effc250041ea368..b296b9372379bf8bcfc91809d7750d0d9207c03d 100644
--- a/src/hydrogen.cc
+++ b/src/hydrogen.cc
@@ -5521,14 +5521,7 @@ HInstruction* HOptimizedGraphBuilder::BuildStoreNamedField(
if (transition_to_field) {
Handle<Map> transition(info->transition());
ASSERT(!transition->is_deprecated());
- if (transition->CanBeDeprecated()) {
- Map::AddDependentCompilationInfo(
- transition, DependentCode::kTransitionGroup, top_info());
- }
- Add<HStoreNamedField>(checked_object->ActualValue(),
- HObjectAccess::ForMap(),
- Add<HConstant>(transition),
- STORE_TO_INITIALIZED_ENTRY);
+ instr->SetTransition(Add<HConstant>(transition));
}
return instr;
}
« no previous file with comments | « src/arm64/lithium-codegen-arm64.cc ('k') | src/hydrogen-check-elimination.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698