Index: src/arm/assembler-arm-inl.h |
diff --git a/src/arm/assembler-arm-inl.h b/src/arm/assembler-arm-inl.h |
index 854b986bb1de44343e4954d7f5ac5196b1ab4775..c6168b9239d789935c6577e0dd45b91b4e455acf 100644 |
--- a/src/arm/assembler-arm-inl.h |
+++ b/src/arm/assembler-arm-inl.h |
@@ -575,10 +575,18 @@ void Assembler::set_target_address_at(Address pc, Address target) { |
} |
-void Assembler::emit_it(Condition cond) { |
+bool Assembler::emit_it(Condition cond) { |
if (cond != al) { |
it_thumb(cond, 1); |
+ return true; |
} |
+ return false; |
+} |
+ |
+ |
+bool Assembler::it_block_smode_check(bool is_in_it_block, SBitMode smode) { |
+ return (is_in_it_block && smode != SetCC) || |
+ (!is_in_it_block && smode != LeaveCC); |
} |