Deleted Added
sdiff udiff text old ( 13280:3a1147706ccf ) new ( 13284:db01c2acd23f )
full compact
1/*
2 * Copyright 2018 Google, Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer;
8 * redistributions in binary form must reproduce the above copyright

--- 207 unchanged lines hidden (view full) ---

216sc_module::get_child_events() const
217{
218 return _gem5_module->obj()->get_child_events();
219}
220
221sc_module::sc_module() :
222 sc_object(sc_gem5::newModuleChecked()->name()),
223 _gem5_module(sc_gem5::currentModule())
224{}
225
226sc_module::sc_module(const sc_module_name &) : sc_module() {}
227sc_module::sc_module(const char *_name) : sc_module(sc_module_name(_name))
228{
229 _gem5_module->deprecatedConstructor();
230 SC_REPORT_WARNING("(W569) sc_module(const char*), "
231 "sc_module(const std::string&) have been deprecated, use "
232 "sc_module(const sc_module_name&)", _name);

--- 592 unchanged lines hidden ---