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

Unified Diff: runtime/vm/assembler.cc

Issue 1192103004: VM: New calling convention for generated code. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: fixed comments 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
« no previous file with comments | « runtime/vm/assembler.h ('k') | runtime/vm/assembler_arm.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler.cc
diff --git a/runtime/vm/assembler.cc b/runtime/vm/assembler.cc
index 5fe8c2f81f634d5830574d0ee42807bec8d1c50a..25803ca829ac7133ac794ee0bcafb20a9f97c760 100644
--- a/runtime/vm/assembler.cc
+++ b/runtime/vm/assembler.cc
@@ -242,8 +242,9 @@ const Code::Comments& Assembler::GetCodeComments() const {
}
-intptr_t ObjectPoolWrapper::AddObject(const Object& obj) {
- return AddObject(ObjectPool::Entry(&obj), kNotPatchable);
+intptr_t ObjectPoolWrapper::AddObject(const Object& obj,
+ Patchability patchable) {
+ return AddObject(ObjectPool::Entry(&obj), patchable);
}
@@ -287,8 +288,9 @@ intptr_t ObjectPoolWrapper::FindObject(ObjectPool::Entry entry,
}
-intptr_t ObjectPoolWrapper::FindObject(const Object& obj) {
- return FindObject(ObjectPool::Entry(&obj), kNotPatchable);
+intptr_t ObjectPoolWrapper::FindObject(const Object& obj,
+ Patchability patchable) {
+ return FindObject(ObjectPool::Entry(&obj), patchable);
}
« no previous file with comments | « runtime/vm/assembler.h ('k') | runtime/vm/assembler_arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698