Index: src/compiler/js-generic-lowering.cc |
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
index 0cb410b7edc3c3473137796163d0ca8a50efd2bc..06b9b3d0f7b57db1a6be2e6ce397ed2b82d4aa00 100644 |
--- a/src/compiler/js-generic-lowering.cc |
+++ b/src/compiler/js-generic-lowering.cc |
@@ -46,8 +46,7 @@ class LoadICStubShim : public HydrogenCodeStub { |
virtual void InitializeInterfaceDescriptor( |
CodeStubInterfaceDescriptor* descriptor) OVERRIDE { |
- CallInterfaceDescriptor* call_descriptor = |
- isolate()->call_descriptor(CallDescriptorKey::LoadICCall); |
+ LoadDescriptor call_descriptor(isolate()); |
descriptor->Initialize(MajorKey(), call_descriptor); |
} |
@@ -74,8 +73,7 @@ class KeyedLoadICStubShim : public HydrogenCodeStub { |
virtual void InitializeInterfaceDescriptor( |
CodeStubInterfaceDescriptor* descriptor) OVERRIDE { |
- CallInterfaceDescriptor* call_descriptor = |
- isolate()->call_descriptor(CallDescriptorKey::LoadICCall); |
+ LoadDescriptor call_descriptor(isolate()); |
descriptor->Initialize(MajorKey(), call_descriptor); |
} |
@@ -101,8 +99,7 @@ class StoreICStubShim : public HydrogenCodeStub { |
virtual void InitializeInterfaceDescriptor( |
CodeStubInterfaceDescriptor* descriptor) OVERRIDE { |
- CallInterfaceDescriptor* call_descriptor = |
- isolate()->call_descriptor(CallDescriptorKey::StoreICCall); |
+ StoreDescriptor call_descriptor(isolate()); |
descriptor->Initialize(MajorKey(), call_descriptor); |
} |
@@ -132,8 +129,7 @@ class KeyedStoreICStubShim : public HydrogenCodeStub { |
virtual void InitializeInterfaceDescriptor( |
CodeStubInterfaceDescriptor* descriptor) OVERRIDE { |
- CallInterfaceDescriptor* call_descriptor = |
- isolate()->call_descriptor(CallDescriptorKey::StoreICCall); |
+ StoreDescriptor call_descriptor(isolate()); |
descriptor->Initialize(MajorKey(), call_descriptor); |
} |