Skip to content

Commit

Permalink
Rename a couple of runtime capability flags for consistency (#1034)
Browse files Browse the repository at this point in the history
Rename a couple of runtime capability flags for consistency before they
are extensively used in runtime capabilities analysis.
  • Loading branch information
cesarzc authored Jan 18, 2024
1 parent 5adbbaf commit 9fda678
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/qsc_frontend/src/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ use thiserror::Error;
bitflags! {
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct RuntimeCapabilityFlags: u32 {
const ConditionalForwardBranching = 0b0000_0001;
const ForwardBranching = 0b0000_0001;
const IntegerComputations = 0b0000_0010;
const FloatingPointComputation = 0b0000_0100;
const FloatingPointComputations = 0b0000_0100;
const BackwardsBranching = 0b0000_1000;
const HigherLevelConstructs = 0b0001_0000;
}
Expand Down

0 comments on commit 9fda678

Please sign in to comment.