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

Unified Diff: runtime/vm/assembler.cc

Issue 1316673005: Track which entries in the ObjectPool are native entries, and reset them when loading a precompiled… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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
Index: runtime/vm/assembler.cc
diff --git a/runtime/vm/assembler.cc b/runtime/vm/assembler.cc
index 489f09040ded130cb94e424b5a49e74d547b0b8d..5fe8c2f81f634d5830574d0ee42807bec8d1c50a 100644
--- a/runtime/vm/assembler.cc
+++ b/runtime/vm/assembler.cc
@@ -306,6 +306,14 @@ intptr_t ObjectPoolWrapper::FindExternalLabel(const ExternalLabel* label,
}
+intptr_t ObjectPoolWrapper::FindNativeEntry(const ExternalLabel* label,
+ Patchability patchable) {
+ return FindObject(ObjectPool::Entry(label->address(),
+ ObjectPool::kNativeEntry),
+ patchable);
+}
+
+
RawObjectPool* ObjectPoolWrapper::MakeObjectPool() {
intptr_t len = object_pool_.length();
if (len == 0) {
« no previous file with comments | « runtime/vm/assembler.h ('k') | runtime/vm/assembler_arm.h » ('j') | runtime/vm/simulator_arm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698