Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index 293b064a448ed7b96cfc87a0999260d9b598139b..5a17b3a6f3aa2e10fa0743196f8901fe2779fd28 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -2995,8 +2995,11 @@ |
Push(rsi); |
} |
- // Push the index. |
- Push(Immediate(handler_index)); |
+ // Push the state. |
+ unsigned state = |
+ StackHandler::IndexField::encode(handler_index) | |
+ StackHandler::KindField::encode(kind); |
+ Push(Immediate(state)); |
// Link the current handler as the next handler. |
ExternalReference handler_address(Isolate::kHandlerAddress, isolate()); |