Index: runtime/vm/assembler_arm.h |
diff --git a/runtime/vm/assembler_arm.h b/runtime/vm/assembler_arm.h |
index 049d76951b9d4b691738e7fb9dad673e012c2f4d..bd0a2044a77c52f9e05945a6736b8c2c108a078e 100644 |
--- a/runtime/vm/assembler_arm.h |
+++ b/runtime/vm/assembler_arm.h |
@@ -980,6 +980,11 @@ class Assembler : public ValueObject { |
b(label, NE); |
} |
+ void BranchIfSmi(Register reg, Label* label) { |
+ tst(reg, Operand(kSmiTagMask)); |
+ b(label, EQ); |
+ } |
+ |
void CheckCodePointer(); |
// Function frame setup and tear down. |