diff --git a/src/backend/x64/emit_x64.cpp b/src/backend/x64/emit_x64.cpp index 709023d5..2b3032eb 100644 --- a/src/backend/x64/emit_x64.cpp +++ b/src/backend/x64/emit_x64.cpp @@ -38,10 +38,11 @@ EmitX64::EmitX64(BlockOfCode& code) EmitX64::~EmitX64() = default; -std::optional EmitX64::GetBasicBlock(IR::LocationDescriptor descriptor) const { +std::optional 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; }