cxxrtl: fix typo in comment. NFC.
authorwhitequark <whitequark@whitequark.org>
Wed, 2 Sep 2020 15:23:40 +0000 (15:23 +0000)
committerwhitequark <whitequark@whitequark.org>
Wed, 2 Sep 2020 15:23:49 +0000 (15:23 +0000)
backends/cxxrtl/cxxrtl_backend.cc

index 6d3c2f4f9b78af29783ba00d15ebc2f1b457f82b..c045af69211ee5a9c662defb57d23e32e3f4d5c4 100644 (file)
@@ -1142,7 +1142,7 @@ struct CxxrtlWorker {
                                }
                                // The generated code has two bounds checks; one in an assertion, and another that guards the read.
                                // This is done so that the code does not invoke undefined behavior under any conditions, but nevertheless
-                               // loudly crashes if an illegal condition is encountered. The assert may be turned off with -NDEBUG not
+                               // loudly crashes if an illegal condition is encountered. The assert may be turned off with -DNDEBUG not
                                // just for release builds, but also to make sure the simulator (which is presumably embedded in some
                                // larger program) will never crash the code that calls into it.
                                //