Index: runtime/vm/intermediate_language_x64.cc |
=================================================================== |
--- runtime/vm/intermediate_language_x64.cc (revision 33072) |
+++ runtime/vm/intermediate_language_x64.cc (working copy) |
@@ -5073,25 +5073,6 @@ |
__ Drop(ArgumentCount()); // Discard arguments. |
} |
- |
-LocationSummary* CreateClosureInstr::MakeLocationSummary(bool opt) const { |
- return MakeCallSummary(); |
-} |
- |
- |
-void CreateClosureInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
- const Function& closure_function = function(); |
- ASSERT(!closure_function.IsImplicitStaticClosureFunction()); |
- const Code& stub = Code::Handle( |
- StubCode::GetAllocationStubForClosure(closure_function)); |
- const ExternalLabel label(closure_function.ToCString(), stub.EntryPoint()); |
- compiler->GenerateCall(token_pos(), |
- &label, |
- PcDescriptors::kOther, |
- locs()); |
- __ Drop(2); // Discard type arguments and receiver. |
-} |
- |
} // namespace dart |
#undef __ |