Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index ba5053f95ab8e1618f70b104bb9aa884f1abb2a8..95f1050a09e64cb418b8719667274417848c0ef2 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -4766,7 +4766,8 @@ void FullCodeGenerator::EnterFinallyBlock() { |
ExternalReference has_pending_message = |
ExternalReference::address_of_has_pending_message(isolate()); |
__ mov(ip, Operand(has_pending_message)); |
- __ ldr(r1, MemOperand(ip)); |
+ STATIC_ASSERT(sizeof(bool) == 1); // NOLINT(runtime/sizeof) |
+ __ ldrb(r1, MemOperand(ip)); |
__ SmiTag(r1); |
__ push(r1); |
@@ -4792,7 +4793,8 @@ void FullCodeGenerator::ExitFinallyBlock() { |
ExternalReference has_pending_message = |
ExternalReference::address_of_has_pending_message(isolate()); |
__ mov(ip, Operand(has_pending_message)); |
- __ str(r1, MemOperand(ip)); |
+ STATIC_ASSERT(sizeof(bool) == 1); // NOLINT(runtime/sizeof) |
+ __ strb(r1, MemOperand(ip)); |
__ pop(r1); |
ExternalReference pending_message_obj = |