| Index: src/hydrogen.cc
|
| diff --git a/src/hydrogen.cc b/src/hydrogen.cc
|
| index 6be8d65039f9d9599e87ea63fd33407a313bccbf..86f9d6bb84678fa5b70c90c8670267832c6915f9 100644
|
| --- a/src/hydrogen.cc
|
| +++ b/src/hydrogen.cc
|
| @@ -3435,9 +3435,10 @@ HGraph::HGraph(CompilationInfo* info)
|
| inlined_functions_(5, info->zone()) {
|
| if (info->IsStub()) {
|
| HydrogenCodeStub* stub = info->code_stub();
|
| - CodeStubInterfaceDescriptor* descriptor = stub->GetInterfaceDescriptor();
|
| - start_environment_ = new(zone_) HEnvironment(
|
| - zone_, descriptor->GetEnvironmentParameterCount());
|
| + CodeStubInterfaceDescriptor descriptor;
|
| + stub->InitializeInterfaceDescriptor(&descriptor);
|
| + start_environment_ = new (zone_)
|
| + HEnvironment(zone_, descriptor.GetEnvironmentParameterCount());
|
| } else {
|
| TraceInlinedFunction(info->shared_info(), HSourcePosition::Unknown());
|
| start_environment_ =
|
|
|