mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 08:54:47 +01:00
Delete unused NoOp instruction (#3586)
This commit is contained in:
@@ -242,11 +242,6 @@ auto HandleNamespace(FunctionContext& /*context*/, SemIR::InstId /*inst_id*/,
|
||||
FatalErrorIfEncountered(inst);
|
||||
}
|
||||
|
||||
auto HandleNoOp(FunctionContext& /*context*/, SemIR::InstId /*inst_id*/,
|
||||
SemIR::NoOp /*inst*/) -> void {
|
||||
// No action to take.
|
||||
}
|
||||
|
||||
auto HandleParam(FunctionContext& /*context*/, SemIR::InstId /*inst_id*/,
|
||||
SemIR::Param /*inst*/) -> void {
|
||||
CARBON_FATAL() << "Parameters should be lowered by `BuildFunctionDefinition`";
|
||||
|
||||
Reference in New Issue
Block a user