Index: src/compiler/raw-machine-assembler.cc |
diff --git a/src/compiler/raw-machine-assembler.cc b/src/compiler/raw-machine-assembler.cc |
index 329d8deada710d926740db43f3eba3cba03bdac5..1af83395b69163bf5170418ce545e60e645062e3 100644 |
--- a/src/compiler/raw-machine-assembler.cc |
+++ b/src/compiler/raw-machine-assembler.cc |
@@ -84,12 +84,11 @@ Node* RawMachineAssembler::CallFunctionStub0(Node* function, Node* receiver, |
Node* context, Node* frame_state, |
CallFunctionFlags flags) { |
CallFunctionStub stub(isolate(), 0, flags); |
- CodeStubInterfaceDescriptor* d = isolate()->code_stub_interface_descriptor( |
- reinterpret_cast<CodeStub*>(&stub)->MajorKey()); |
- stub.InitializeInterfaceDescriptor(d); |
+ CodeStubInterfaceDescriptor d; |
+ stub.InitializeInterfaceDescriptor(&d); |
CallDescriptor* desc = Linkage::GetStubCallDescriptor( |
- d, 1, CallDescriptor::kNeedsFrameState, zone()); |
+ &d, 1, CallDescriptor::kNeedsFrameState, zone()); |
Node* stub_code = HeapConstant(stub.GetCode()); |
Node* call = graph()->NewNode(common()->Call(desc), stub_code, function, |
receiver, context, frame_state); |