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

Unified Diff: runtime/vm/assembler_arm.h

Issue 1189573004: Use object pool for runtime calls. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_arm.h
diff --git a/runtime/vm/assembler_arm.h b/runtime/vm/assembler_arm.h
index 13e307d166122f0964a7111807b5c0e9562f50d0..24e41b03d995489db04758537cab622cbb7bf14a 100644
--- a/runtime/vm/assembler_arm.h
+++ b/runtime/vm/assembler_arm.h
@@ -615,6 +615,8 @@ class Assembler : public ValueObject {
// Branch and link to an entry address. Call sequence is never patched.
void BranchLink(const ExternalLabel* label);
+ void BranchLink(const ExternalLabel* label, Patchability patchable);
+
// Branch and link to an entry address. Call sequence can be patched.
void BranchLinkPatchable(const ExternalLabel* label);
@@ -664,6 +666,10 @@ class Assembler : public ValueObject {
void LoadIsolate(Register rd);
void LoadObject(Register rd, const Object& object, Condition cond = AL);
+ void LoadExternalLabel(Register dst,
+ const ExternalLabel* label,
+ Patchability patchable,
+ Condition cond = AL);
void PushObject(const Object& object);
void CompareObject(Register rn, const Object& object);
@@ -886,7 +892,7 @@ class Assembler : public ValueObject {
// Set up a stub frame so that the stack traversal code can easily identify
// a stub frame.
- void EnterStubFrame(bool load_pp = false);
+ void EnterStubFrame();
void LeaveStubFrame();
// Instruction pattern from entrypoint is used in Dart frame prologs
« no previous file with comments | « no previous file | runtime/vm/assembler_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698