push
github
21 of 27 new or added lines in 5 files covered. (77.78%)
7275 of 8391 relevant lines covered (86.7%)
120188.09 hits per line
| 1 |
#include <Ark/VM/Value.hpp> |
|
| 2 |
#include <Ark/VM/Value/Procedure.hpp> |
|
| 3 |
|
|
| 4 |
#include <utility> |
|
| 5 |
|
|
| 6 |
namespace Ark
|
|
| 7 |
{
|
|
|
|
Value Procedure::operator()(std::vector<Value>& args, VM* vm) const |
11,827✔ |
|
|
{
|
11,827✔ |
|
|
return m_procedure(args, vm);
|
11,827✔ |
| 11 |
} |
|
| 12 |
|
|
|
|
Procedure::Procedure(PointerType c_pointer) |
49✔ |
|
|
{
|
49✔ |
|
|
m_procedure = c_pointer; |
49✔ |
|
|
} |
49✔ |
| 17 |
|
|
|
NEW
|
bool Procedure::operator<(const Procedure&) const noexcept |
× |
|
NEW
|
{
|
× |
|
NEW
|
return false; |
× |
| 21 |
} |
|
| 22 |
|
|
|
NEW
|
bool Procedure::operator==(const Procedure&) const noexcept |
× |
|
NEW
|
{
|
× |
|
NEW
|
return false; |
× |
| 26 |
} |
|
| 27 |
}; |