dynarmic/src/frontend/ir/location_descriptor.cpp

20 lines
520 B
C++
Raw Normal View History

/* This file is part of the dynarmic project.
* Copyright (c) 2016 MerryMage
* This software may be used and distributed according to the terms of the GNU
* General Public License version 2 or any later version.
*/
#include <ostream>
#include <fmt/format.h>
2018-01-01 16:23:56 +01:00
#include "frontend/ir/location_descriptor.h"
namespace Dynarmic::IR {
2018-01-01 16:23:56 +01:00
std::ostream& operator<<(std::ostream& o, const LocationDescriptor& descriptor) {
2018-01-08 23:03:03 +01:00
o << fmt::format("{{{:016x}}}", descriptor.Value());
return o;
}
} // namespace Dynarmic::IR