2016-09-05 22:31:25 +02:00
|
|
|
/* 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
|
|
|
|
2016-09-05 22:31:25 +02:00
|
|
|
#include "frontend/ir/location_descriptor.h"
|
|
|
|
|
|
2018-01-26 14:51:48 +01:00
|
|
|
namespace Dynarmic::IR {
|
2016-09-05 22:31:25 +02:00
|
|
|
|
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());
|
2016-09-05 22:31:25 +02:00
|
|
|
return o;
|
|
|
|
|
}
|
|
|
|
|
|
2018-01-26 14:51:48 +01:00
|
|
|
} // namespace Dynarmic::IR
|