Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index 2867d5ec7203c1ab76b725ed6f0187e46e0dd4a7..5d639d8c8ca8b69db7b40869e36d0767e043344b 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -4485,6 +4485,7 @@ void FullCodeGenerator::EnterFinallyBlock() { |
ExternalReference has_pending_message = |
ExternalReference::address_of_has_pending_message(isolate()); |
__ mov(edx, Operand::StaticVariable(has_pending_message)); |
+ __ SmiTag(edx); |
__ push(edx); |
ExternalReference pending_message_script = |
@@ -4503,6 +4504,7 @@ void FullCodeGenerator::ExitFinallyBlock() { |
__ mov(Operand::StaticVariable(pending_message_script), edx); |
__ pop(edx); |
+ __ SmiUntag(edx); |
ExternalReference has_pending_message = |
ExternalReference::address_of_has_pending_message(isolate()); |
__ mov(Operand::StaticVariable(has_pending_message), edx); |