From 94199b94643d38edcaa352993100acb79de406bd Mon Sep 17 00:00:00 2001 From: Jonathan Worthington Date: Thu, 23 Apr 2015 09:14:57 +0200 Subject: [PATCH] Toss commented out code. --- src/core/bytecode.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/core/bytecode.c b/src/core/bytecode.c index 5961e9d680..a99f2256b5 100644 --- a/src/core/bytecode.c +++ b/src/core/bytecode.c @@ -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; @@ -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) {