Index: src/mips64/macro-assembler-mips64.cc |
diff --git a/src/mips64/macro-assembler-mips64.cc b/src/mips64/macro-assembler-mips64.cc |
index dd99d3e607465508beb327ef4ec01f2b9db21a77..bf008e084b423c37c12b1598f7d8548094cd3279 100644 |
--- a/src/mips64/macro-assembler-mips64.cc |
+++ b/src/mips64/macro-assembler-mips64.cc |
@@ -3233,14 +3233,10 @@ void MacroAssembler::PushTryHandler(StackHandler::Kind kind, |
// For the JSEntry handler, we must preserve a0-a3 and s0. |
// a5-a7 are available. We will build up the handler from the bottom by |
// pushing on the stack. |
- // Set up the the state (r6) for pushing. |
- unsigned state = |
- StackHandler::IndexField::encode(handler_index) | |
- StackHandler::KindField::encode(kind); |
- li(a5, Operand(CodeObject()), CONSTANT_SIZE); |
- li(a6, Operand(state)); |
- |
- // Push the context and state. |
+ // Set up the the index (a6) for pushing. |
+ li(a6, Operand(handler_index)); |
+ |
+ // Push the context and index. |
if (kind == StackHandler::JS_ENTRY) { |
DCHECK(Smi::FromInt(0) == 0); |
// The zero_reg indicates no context. |