projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15aa180
)
ruby: fixed config assertion failure
author
Derek Hower
<drh5@cs.wisc.edu>
Tue, 1 Sep 2009 14:35:48 +0000
(09:35 -0500)
committer
Derek Hower
<drh5@cs.wisc.edu>
Tue, 1 Sep 2009 14:35:48 +0000
(09:35 -0500)
src/mem/ruby/config/cfg.rb
patch
|
blob
|
history
diff --git
a/src/mem/ruby/config/cfg.rb
b/src/mem/ruby/config/cfg.rb
index 445bb488537318d6ec27150c645989957e8d8828..16d658a4c381fda46d8a4babb441d88967004df2 100644
(file)
--- 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