X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/6fe7ccc865dc7d7541b93c5bcaf6368d2c98a174..8b637bb680022adfddad653280734877951535a9:/bytecode/VirtualRegister.h diff --git a/bytecode/VirtualRegister.h b/bytecode/VirtualRegister.h index b95f8b8..a6dc8d5 100644 --- a/bytecode/VirtualRegister.h +++ b/bytecode/VirtualRegister.h @@ -27,6 +27,7 @@ #define VirtualRegister_h #include +#include namespace JSC { @@ -37,4 +38,13 @@ COMPILE_ASSERT(sizeof(VirtualRegister) == sizeof(int), VirtualRegister_is_32bit) } // namespace JSC +namespace WTF { + +inline void printInternal(PrintStream& out, JSC::VirtualRegister value) +{ + out.print(static_cast(value)); +} + +} // namespace WTF + #endif // VirtualRegister_h