diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2012-10-02 14:35:43 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2012-10-02 14:35:43 -0500 |
commit | 73eafe484992d488b88c14d94b8909dc488b067b (patch) | |
tree | f865555f3aa02cc5ad16c5c6100cb9557176d2a4 /src/mem/slicc/ast/FuncCallExprAST.py | |
parent | 3c9d3b16d8aed879b1db682b1a7fe64f64b9cd7e (diff) | |
download | gem5-73eafe484992d488b88c14d94b8909dc488b067b.tar.xz |
ruby: remove some unused things in slicc
This patch removes the parts of slicc that were required for multi-chip
protocols. Going ahead, it seems multi-chip protocols would be implemented
by playing with the network itself.
Diffstat (limited to 'src/mem/slicc/ast/FuncCallExprAST.py')
-rw-r--r-- | src/mem/slicc/ast/FuncCallExprAST.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mem/slicc/ast/FuncCallExprAST.py b/src/mem/slicc/ast/FuncCallExprAST.py index 1438934e6..b0ab931de 100644 --- a/src/mem/slicc/ast/FuncCallExprAST.py +++ b/src/mem/slicc/ast/FuncCallExprAST.py @@ -206,12 +206,8 @@ if (!(${{cvec[0]}})) { else: # Normal function - - # if the func is internal to the chip but not the machine - # then it can only be accessed through the chip pointer - internal = "" if "external" not in func and not func.isInternalMachineFunc: - internal = "m_chip_ptr->" + self.error("Invalid function") params = "" first_param = True @@ -225,7 +221,7 @@ if (!(${{cvec[0]}})) { params += str(param_code); fix = code.nofix() - code('(${internal}${{func.c_ident}}($params))') + code('(${{func.c_ident}}($params))') code.fix(fix) return func.return_type |