Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 1259160c5efb36da624c95a456f8436a86a90930..c68bd5dc5bf453b8fcd96c9b0021bb4baced76bb 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -4477,6 +4477,7 @@ void FullCodeGenerator::EnterFinallyBlock() { |
ExternalReference has_pending_message = |
ExternalReference::address_of_has_pending_message(isolate()); |
__ Load(rdx, has_pending_message); |
+ __ Integer32ToSmi(rdx, rdx); |
__ push(rdx); |
ExternalReference pending_message_script = |
@@ -4496,6 +4497,7 @@ void FullCodeGenerator::ExitFinallyBlock() { |
__ Store(pending_message_script, rdx); |
__ pop(rdx); |
+ __ SmiToInteger32(rdx, rdx); |
ExternalReference has_pending_message = |
ExternalReference::address_of_has_pending_message(isolate()); |
__ Store(has_pending_message, rdx); |