slicc: enable overloading in functions not in classes
Review Request #2810 - Created May 11, 2015 and submitted
| Information | |
|---|---|
| Tony Gutierrez | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 10843:8851306e9602 --------------------------- slicc: enable overloading in functions not in classes For many years the slicc symbol table has supported overloaded functions in external classes. This patch extends that support to functions that are not part of classes (a.k.a. no parent). For example, this support allows slicc to understand that mapAddressToRange is overloaded and the NodeID is an optional parameter.
Issue Summary
1
1
0
0
| Description | From | Last Updated | Status |
|---|---|---|---|
| Can you explain what this statement is doing? Please avoid adding such special cases. | Nilay Vaish | May 11, 2015, 9:08 p.m. | Open |
Posted (May 11, 2015, 9:08 p.m.)
Again, I would like to know what behaviour is this change trying to achieve?
-
src/mem/slicc/symbols/Transition.py (Diff revision 1) -
Can you explain what this statement is doing? Please avoid adding such special cases.
Seems reasonable to me. But why not just go the whole way and implement true name mangling. (Joking!)
Posted (May 19, 2015, 2:15 p.m.)
Are there any more comments on this patch?
Ship It!
Review request changed
Updated (May 26, 2015, 1:09 p.m.)
Description: |
|
||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+39 -16) |
Posted (June 18, 2015, 4:01 p.m.)
I think all the review comments are taken care now. Any more comments?
