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

Unified Diff: runtime/vm/assembler.h

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 | « no previous file | runtime/vm/assembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler.h
diff --git a/runtime/vm/assembler.h b/runtime/vm/assembler.h
index 3f4d5ea099383d89477d9b375355a8fc412a1859..bd3ca5b57dba1ef06b31a132ad7aec3799dee3fa 100644
--- a/runtime/vm/assembler.h
+++ b/runtime/vm/assembler.h
@@ -287,12 +287,14 @@ enum Patchability {
class ObjectPoolWrapper : public ValueObject {
public:
- intptr_t AddObject(const Object& obj);
+ intptr_t AddObject(const Object& obj,
+ Patchability patchable = kNotPatchable);
intptr_t AddImmediate(uword imm);
intptr_t AddExternalLabel(const ExternalLabel* label,
Patchability patchable);
- intptr_t FindObject(const Object& obj);
+ intptr_t FindObject(const Object& obj,
+ Patchability patchable = kNotPatchable);
intptr_t FindImmediate(uword imm);
intptr_t FindExternalLabel(const ExternalLabel* label,
Patchability patchable);
@@ -312,6 +314,12 @@ class ObjectPoolWrapper : public ValueObject {
DirectChainedHashMap<ObjIndexPair> object_pool_index_table_;
};
+
+enum RestorePP {
+ kRestoreCallerPP,
+ kKeepCalleePP
+};
+
} // namespace dart
« no previous file with comments | « no previous file | runtime/vm/assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698