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

Unified Diff: src/transitions-inl.h

Issue 10908237: Moving the WhitenessWitness back to DescriptorArray. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Another NoIncrementalWriteBarrierSet. Created 8 years, 3 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/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 fd97ad25ab57d3946245b9e40c618083e2cbd1c4..5030616e4ea4ecc21bcf1092f80c753e0f849eb8 100644
--- a/src/transitions-inl.h
+++ b/src/transitions-inl.h
@@ -200,16 +200,13 @@ int TransitionArray::Search(String* name) {
}
-void TransitionArray::Set(int transition_number,
- String* key,
- Map* target,
- const WhitenessWitness&) {
- NoIncrementalWriteBarrierSet(this,
- ToKeyIndex(transition_number),
- key);
- NoIncrementalWriteBarrierSet(this,
- ToTargetIndex(transition_number),
- target);
+void TransitionArray::NoIncrementalWriteBarrierSet(int transition_number,
+ String* key,
+ Map* target) {
+ FixedArray::NoIncrementalWriteBarrierSet(
+ this, ToKeyIndex(transition_number), key);
+ FixedArray::NoIncrementalWriteBarrierSet(
+ this, 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