Index: src/ia32/deoptimizer-ia32.cc |
diff --git a/src/ia32/deoptimizer-ia32.cc b/src/ia32/deoptimizer-ia32.cc |
index e339b3ad11c36b4fe5a3c864ae79db7b69dc3e42..e043aa4786fa7fb5b81886970e4c5fb30c972335 100644 |
--- a/src/ia32/deoptimizer-ia32.cc |
+++ b/src/ia32/deoptimizer-ia32.cc |
@@ -202,7 +202,7 @@ void Deoptimizer::SetPlatformCompiledStubRegisters( |
FrameDescription* output_frame, CodeStubInterfaceDescriptor* descriptor) { |
intptr_t handler = |
reinterpret_cast<intptr_t>(descriptor->deoptimization_handler_); |
- int params = descriptor->environment_length(); |
+ int params = descriptor->GetHandlerParameterCount(); |
output_frame->SetRegister(eax.code(), params); |
output_frame->SetRegister(ebx.code(), handler); |
} |