ruby: remove Ruby asserts for m5.fast
authorBrad Beckmann <Brad.Beckmann@amd.com>
Wed, 8 Dec 2010 19:52:02 +0000 (11:52 -0800)
committerBrad Beckmann <Brad.Beckmann@amd.com>
Wed, 8 Dec 2010 19:52:02 +0000 (11:52 -0800)
commit7e42b753e7cc03bf7271dfc98e69aa56973df9ba
treec35aa84c5bc0754553b8c190265cd5d7593fdeaa
parentf26051eb1a5b8f3522acbb871133de66278fd517
ruby: remove Ruby asserts for m5.fast

This diff is for changing the way ASSERT is handled in Ruby. m5.fast
compiles out the assert statements by using the macro NDEBUG. Ruby uses the
macro RUBY_NO_ASSERT to do so. This macro has been removed and NDEBUG has
been put in its place.
src/mem/ruby/common/Debug.hh
src/mem/slicc/ast/FuncCallExprAST.py