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

Unified Diff: src/objects-inl.h

Issue 2645083003: Remove one of the JSObject::WriteToField() methods in favor of another. (Closed)
Patch Set: Created 3 years, 11 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/objects.h ('k') | test/cctest/test-unboxed-doubles.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-inl.h
diff --git a/src/objects-inl.h b/src/objects-inl.h
index 512fd6c4c64d19ed0f29f90b051e496cacf41164..5c4c190ffa51e02b6b9f3f6ccdd22b3ca5516789 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -2354,12 +2354,6 @@ void JSObject::WriteToField(int descriptor, PropertyDetails details,
}
}
-void JSObject::WriteToField(int descriptor, Object* value) {
- DescriptorArray* desc = map()->instance_descriptors();
- PropertyDetails details = desc->GetDetails(descriptor);
- WriteToField(descriptor, details, value);
-}
-
int JSObject::GetInObjectPropertyOffset(int index) {
return map()->GetInObjectPropertyOffset(index);
}
« no previous file with comments | « src/objects.h ('k') | test/cctest/test-unboxed-doubles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698