mirror of
https://github.com/corda/corda.git
synced 2025-01-04 04:04:27 +00:00
9bb3d6b972
git-subtree-dir: sgx-jvm/avian git-subtree-mainline:f978eab8d1
git-subtree-split:09e4fe60d0
25 lines
727 B
C++
25 lines
727 B
C++
/* Copyright (c) 2008-2013, Avian Contributors
|
|
|
|
Permission to use, copy, modify, and/or distribute this software
|
|
for any purpose with or without fee is hereby granted, provided
|
|
that the above copyright notice and this permission notice appear
|
|
in all copies.
|
|
|
|
There is NO WARRANTY for this software. See license.txt for
|
|
details. */
|
|
|
|
#include <stdint.h>
|
|
|
|
namespace avian {
|
|
namespace jvm {
|
|
namespace debug {
|
|
|
|
// print out a single instruction (no newline)
|
|
// returns number of characters printed
|
|
int printInstruction(uint8_t* code, unsigned& ip, const char* prefix = "");
|
|
void disassembleCode(const char* prefix, uint8_t* code, unsigned length);
|
|
|
|
} // namespace debug
|
|
} // namespace jvm
|
|
} // namespace avian
|