| Index: test/cctest/compiler/test-run-stubs.cc
|
| diff --git a/test/cctest/compiler/test-run-stubs.cc b/test/cctest/compiler/test-run-stubs.cc
|
| index 7a2a09405c4c018a4765fc2c2cdb0e1de2fa9254..c7452191bfa4972cac8ecf373a01915fe402dacd 100644
|
| --- a/test/cctest/compiler/test-run-stubs.cc
|
| +++ b/test/cctest/compiler/test-run-stubs.cc
|
| @@ -27,8 +27,13 @@ TEST(RunStringLengthStub) {
|
| // Create code and an accompanying descriptor.
|
| StringLengthStub stub(isolate);
|
| Handle<Code> code = stub.GenerateCode();
|
| - CompilationInfo info(&stub, isolate, zone);
|
| - CallDescriptor* descriptor = Linkage::ComputeIncoming(zone, &info);
|
| + CompilationInfo info("test", isolate, zone,
|
| + Code::ComputeFlags(Code::HANDLER));
|
| + CallInterfaceDescriptor interface_descriptor =
|
| + stub.GetCallInterfaceDescriptor();
|
| + CallDescriptor* descriptor = Linkage::GetStubCallDescriptor(
|
| + isolate, zone, interface_descriptor, stub.GetStackParameterCount(),
|
| + CallDescriptor::kNoFlags, Operator::kNoProperties);
|
|
|
| // Create a function to call the code using the descriptor.
|
| Graph graph(zone);
|
|
|