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

Unified Diff: runtime/vm/object.cc

Issue 1253373002: VM: Hoist handle allocation out of loop when creating the object pool. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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 | « runtime/vm/object.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index 6a7d34c8099cea7543dd4b53a67f142d9cf8e2ee..fe396262772028067fd36cebc64df7d280dd367d 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -10895,11 +10895,6 @@ ObjectPool::EntryType ObjectPool::InfoAt(intptr_t index) const {
}
-void ObjectPool::SetInfoAt(intptr_t index, EntryType info) const {
- const TypedData& array = TypedData::Handle(info_array());
- array.SetInt8(index, static_cast<int8_t>(info));
-}
-
const char* ObjectPool::ToCString() const {
return "ObjectPool";
}
« no previous file with comments | « runtime/vm/object.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698