Navigation Menu

Skip to content

Commit

Permalink
Toss commented out code.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Apr 23, 2015
1 parent fdee085 commit 94199b9
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/core/bytecode.c
Expand Up @@ -78,15 +78,6 @@ static void memcpy_endian(void *dest, MVMuint8 *src, size_t size) {
#endif
}

#if 0
/* Reads a uint64 from a buffer. */
static MVMuint64 read_int64(MVMuint8 *buffer, size_t offset) {
MVMuint64 value;
memcpy_endian(&value, buffer + offset, 8);
return value;
}
#endif

/* Reads a uint32 from a buffer. */
static MVMuint32 read_int32(MVMuint8 *buffer, size_t offset) {
MVMuint32 value;
Expand All @@ -106,15 +97,6 @@ static MVMuint8 read_int8(MVMuint8 *buffer, size_t offset) {
return buffer[offset];
}

#if 0
/* Reads double from a buffer. */
static double read_double(char *buffer, size_t offset) {
double value;
memcpy(&value, buffer + offset, 8);
return value;
}
#endif

/* Cleans up reader state. */
static void cleanup_all(MVMThreadContext *tc, ReaderState *rs) {
if (rs->frame_outer_fixups) {
Expand Down

0 comments on commit 94199b9

Please sign in to comment.