From a6a6ce83f00d4704bf612acab2236fc1ca9d5a96 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Tue, 10 Aug 2010 11:19:45 -0400 Subject: [PATCH] Internals: Use branch prediction in asserts --- Makefile.in | 2 +- src/V3Error.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile.in b/Makefile.in index 1a4eb8fa4..73b36a3e9 100644 --- a/Makefile.in +++ b/Makefile.in @@ -118,7 +118,7 @@ DISTFILES_INC = $(INFOS) .gitignore Artistic COPYING COPYING.LESSER \ src/.*ignore src/*.in src/*.cpp src/*.[chly] src/astgen src/bisonpre src/*fix \ src/*.pl src/*.pod \ test_*/.*ignore test_*/Makefile* test_*/*.cpp \ - test_*/*.pl test_*/*.v test_*/*.vc test_*/*.vh test_*/vlint \ + test_*/*.pl test_*/*.v test_*/*.vc test_*/*.vh \ test_verilated/vgen*.pl \ test_regress/t/*.cpp \ test_regress/t/*.h \ diff --git a/src/V3Error.h b/src/V3Error.h index f63c5a8ad..8cbbea3c7 100644 --- a/src/V3Error.h +++ b/src/V3Error.h @@ -196,13 +196,13 @@ inline void v3errorEnd(ostringstream& sstr) { V3Error::v3errorEnd(sstr); } // Use this instead of fatal() to mention the source code line. #define v3fatalSrc(msg) v3warn(EC_FATALSRC,__FILE__<<":"<=(level)) { cout<<"- "<=(level)) { cout<=(level))) { cout<<"- "<=(level))) { cout<