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

Unified Diff: runtime/vm/assembler_arm64.h

Issue 2856543002: Use off-heap data for class check instructions (Closed)
Patch Set: Feedback from Slava: rejig inheritance of CallTargets Created 3 years, 7 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_arm64.h
diff --git a/runtime/vm/assembler_arm64.h b/runtime/vm/assembler_arm64.h
index 200ec84b2fa6a643154e0570e9ece62ad68ea369..e50ca34efef58fa9b08d3fc86d020b9270a6b949 100644
--- a/runtime/vm/assembler_arm64.h
+++ b/runtime/vm/assembler_arm64.h
@@ -1144,6 +1144,11 @@ class Assembler : public ValueObject {
b(label, NE);
}
+ void BranchIfSmi(Register reg, Label* label) {
+ tsti(reg, Immediate(kSmiTagMask));
+ b(label, EQ);
+ }
+
void Branch(const StubEntry& stub_entry,
Register pp,
Patchability patchable = kNotPatchable);
@@ -1164,6 +1169,7 @@ class Assembler : public ValueObject {
// the object pool when possible. Unless you are sure that the untagged object
// pool pointer is in another register, or that it is not available at all,
// PP should be passed for pp.
+ void AddImmediate(Register dest, int64_t imm);
Vyacheslav Egorov (Google) 2017/05/09 21:07:27 It does not seem like anybody is actually using th
erikcorry 2017/05/10 08:47:43 Gone
void AddImmediate(Register dest, Register rn, int64_t imm);
void AddImmediateSetFlags(Register dest, Register rn, int64_t imm);
void SubImmediateSetFlags(Register dest, Register rn, int64_t imm);

Powered by Google App Engine
This is Rietveld 408576698