emit_x64: Remove unnecessary typename in GetBasicBlock()
This can be deduced from the name alone.
This commit is contained in:
parent
675f67e41d
commit
a40b921cb5
1 changed files with 3 additions and 2 deletions
|
@ -38,10 +38,11 @@ EmitX64::EmitX64(BlockOfCode& code)
|
|||
|
||||
EmitX64::~EmitX64() = default;
|
||||
|
||||
std::optional<typename EmitX64::BlockDescriptor> EmitX64::GetBasicBlock(IR::LocationDescriptor descriptor) const {
|
||||
std::optional<EmitX64::BlockDescriptor> EmitX64::GetBasicBlock(IR::LocationDescriptor descriptor) const {
|
||||
auto iter = block_descriptors.find(descriptor);
|
||||
if (iter == block_descriptors.end())
|
||||
if (iter == block_descriptors.end()) {
|
||||
return std::nullopt;
|
||||
}
|
||||
return iter->second;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue