diff options
Diffstat (limited to 'src/mem/slicc/ast')
-rw-r--r-- | src/mem/slicc/ast/EnqueueStatementAST.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/slicc/ast/EnqueueStatementAST.cc b/src/mem/slicc/ast/EnqueueStatementAST.cc index 744dfe1eb..8be0378c9 100644 --- a/src/mem/slicc/ast/EnqueueStatementAST.cc +++ b/src/mem/slicc/ast/EnqueueStatementAST.cc @@ -77,7 +77,7 @@ void EnqueueStatementAST::generate(string& code, Type* return_type_ptr) const code += ".enqueue(out_msg"; if (getPairs().exist("latency")) { - code += ", RubyConfig::get" + getPairs().lookup("latency") + "()"; + code += ", m_LATENCY_" + getPairs().lookup("latency"); } code += ");\n"; |