| 642 | } |
| 643 | |
| 644 | static FastMathFlags parse_fast_math(token op_token) { |
| 645 | FastMathFlags fmath; |
| 646 | while (true) { |
| 647 | if (tokenizer.consumeIf(NNAN)) { |
| 648 | fmath.flags |= FastMathFlags::NNaN; |
| 649 | } else if (tokenizer.consumeIf(NINF)) { |
| 650 | fmath.flags |= FastMathFlags::NInf; |
| 651 | } else if (tokenizer.consumeIf(NSZ)) { |
| 652 | fmath.flags |= FastMathFlags::NSZ; |
| 653 | } else { |
| 654 | break; |
| 655 | } |
| 656 | } |
| 657 | return fmath; |
| 658 | } |
| 659 | |
| 660 | |
| 661 | static unsigned parse_binop_flags(token op_token) { |
no test coverage detected