diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2012-07-10 22:51:54 -0700 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2012-07-10 22:51:54 -0700 |
commit | 884cd6f7526e35fe900413eb5f5c07c04fc2b7e3 (patch) | |
tree | d0da43647595ac0e2eefb5d3278f9163ae016ca3 /src/mem/slicc/ast/AssignStatementAST.py | |
parent | 86d6b788f6d7b523c750ffb64d6d8920ec741c49 (diff) | |
download | gem5-884cd6f7526e35fe900413eb5f5c07c04fc2b7e3.tar.xz |
imported patch jason/slicc-external-structure-fix
Diffstat (limited to 'src/mem/slicc/ast/AssignStatementAST.py')
-rw-r--r-- | src/mem/slicc/ast/AssignStatementAST.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/slicc/ast/AssignStatementAST.py b/src/mem/slicc/ast/AssignStatementAST.py index 3c3426f5b..042204925 100644 --- a/src/mem/slicc/ast/AssignStatementAST.py +++ b/src/mem/slicc/ast/AssignStatementAST.py @@ -45,7 +45,7 @@ class AssignStatementAST(StatementAST): code("$lcode = $rcode;") - if ltype != rtype: + if not (ltype == rtype or (ltype.isInterface and ltype['interface'] == rtype.ident)): # FIXME - beckmann # the following if statement is a hack to allow NetDest # objects to be assigned to Sets this allows for the |