Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 60d56f853b0e1a0995819a8f7b9a149578f61406..b1b4dfc54cc68190faeeb9415ff9386ce7988e3d 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -3434,8 +3434,8 @@ HGraph::HGraph(CompilationInfo* info) |
next_inline_id_(0), |
inlined_functions_(5, info->zone()) { |
if (info->IsStub()) { |
- HydrogenCodeStub* stub = info->code_stub(); |
- CodeStubInterfaceDescriptor descriptor(stub); |
+ CallInterfaceDescriptor descriptor = |
+ info->code_stub()->GetCallInterfaceDescriptor(); |
start_environment_ = new (zone_) |
HEnvironment(zone_, descriptor.GetEnvironmentParameterCount()); |
} else { |