summaryrefslogtreecommitdiff
path: root/src/sim/mathexpr.cc
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2017-09-25 15:15:45 -0700
committerGabe Black <gabeblack@google.com>2017-09-26 21:16:09 +0000
commit9015069ea0c82221bd4665a5bdf9a9b46a7fd904 (patch)
tree0e24d2d4e870c0aba95417ed8294c9d6c3dd208e /src/sim/mathexpr.cc
parent2e3bf009b111a7e3076db61ed5cee4acaa28dc83 (diff)
downloadgem5-9015069ea0c82221bd4665a5bdf9a9b46a7fd904.tar.xz
sim: Add a set_parent to NullSimObject which does nothing.
This lets attempts to set_parent on NullSimObject fall away harmlessly without having to add a bunch of checks whenever set_parent is called. Change-Id: I6d3510772ba71e765c4739e486e9f3d2460c4e11 Reviewed-on: https://gem5-review.googlesource.com/4840 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/sim/mathexpr.cc')
0 files changed, 0 insertions, 0 deletions