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

Unified Diff: src/transitions-inl.h

Issue 1472393002: Transition array should not know about write barrier internals. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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/transitions.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/transitions-inl.h
diff --git a/src/transitions-inl.h b/src/transitions-inl.h
index a5ec52f66730a131a8e5e3a58ecda049f77c9b0c..6f301a7ea2741cd3bec4cf92615336aafe6062ba 100644
--- a/src/transitions-inl.h
+++ b/src/transitions-inl.h
@@ -158,13 +158,9 @@ PropertyDetails TransitionArray::GetTargetDetails(Name* name, Map* target) {
}
-void TransitionArray::NoIncrementalWriteBarrierSet(int transition_number,
- Name* key,
- Map* target) {
- FixedArray::NoIncrementalWriteBarrierSet(
- this, ToKeyIndex(transition_number), key);
- FixedArray::NoIncrementalWriteBarrierSet(
- this, ToTargetIndex(transition_number), target);
+void TransitionArray::Set(int transition_number, Name* key, Map* target) {
+ set(ToKeyIndex(transition_number), key);
+ set(ToTargetIndex(transition_number), target);
}
« no previous file with comments | « src/transitions.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698