Index: runtime/vm/assembler_arm.h |
diff --git a/runtime/vm/assembler_arm.h b/runtime/vm/assembler_arm.h |
index 73d76ae63b0fe996f68d152ebe1b69124ec1dd55..184f28d4829bf06c3d82462640005579eaefcde0 100644 |
--- a/runtime/vm/assembler_arm.h |
+++ b/runtime/vm/assembler_arm.h |
@@ -907,6 +907,11 @@ class Assembler : public ValueObject { |
b(is_smi, CC); |
} |
+ void BranchIfNotSmi(Register reg, Label* label) { |
+ tst(reg, Operand(kSmiTagMask)); |
+ b(label, NE); |
+ } |
+ |
void CheckCodePointer(); |
// Function frame setup and tear down. |