summaryrefslogtreecommitdiff
path: root/tiger-compiler/src/task/simple-task.cc
blob: 031a182ebd1c50fe23c7a18809a34c697a1a319a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/**
 ** \file task/simple-task.cc
 ** \brief SimpleTask class implementation.
 */

#include <task/simple-task.hh>
#include <task/task-register.hh>

namespace task
{
  SimpleTask::SimpleTask(const char* name,
                         const char* module_name,
                         const char* desc,
                         std::string deps)
    : Task(name, module_name, desc, deps)
  {
    // Register this task.
    TaskRegister::instance().register_task(*this);
  }

} // namespace task