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

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: ia32 port, addressed 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') | runtime/vm/assembler_arm.cc » ('J')
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 f2ad6fed6491405e95ac124d3c1208104c83955d..980f72ceee89b4f1122dc883d35c422d57c3183a 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);
@@ -310,6 +312,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') | runtime/vm/assembler_arm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698