From: Derek Hower Date: Tue, 1 Sep 2009 14:35:48 +0000 (-0500) Subject: ruby: fixed config assertion failure X-Git-Tag: Calvin_Submission~24^2~5^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=849bad7ad7c8b483d02b317e7f6ecf0c1292a48d;p=gem5.git ruby: fixed config assertion failure --- diff --git a/src/mem/ruby/config/cfg.rb b/src/mem/ruby/config/cfg.rb index 445bb4885..16d658a4c 100644 --- a/src/mem/ruby/config/cfg.rb +++ b/src/mem/ruby/config/cfg.rb @@ -11,7 +11,7 @@ end def assert(condition,message) unless condition - raise AssertionFailure, "\n\nAssertion failed: \n\n #{message}\n\n" + raise AssertionFailure.new(message), "\n\nAssertion failed: \n\n #{message}\n\n" end end