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

Unified Diff: runtime/vm/class_table.cc

Issue 1247783002: Make array allocation stub shared between isolates. (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
Index: runtime/vm/class_table.cc
diff --git a/runtime/vm/class_table.cc b/runtime/vm/class_table.cc
index c4dbfe8f0f85b5343ea3fecf4011b821f1c91b70..28b7f750c7fe84dba29a540af8798d11c405d3ec 100644
--- a/runtime/vm/class_table.cc
+++ b/runtime/vm/class_table.cc
@@ -450,10 +450,8 @@ intptr_t ClassTable::CounterOffsetFor(intptr_t cid, bool is_new_space) {
}
-ClassHeapStats** ClassTable::StateAddressFor(intptr_t cid,
- intptr_t* state_offset) {
- *state_offset = ClassOffsetFor(cid)+ ClassHeapStats::state_offset();
- return TableAddressFor(cid);
+intptr_t ClassTable::StateOffsetFor(intptr_t cid) {
+ return ClassOffsetFor(cid)+ ClassHeapStats::state_offset();
}

Powered by Google App Engine
This is Rietveld 408576698