[svn:parrot] r48627 - trunk/src/packfile
plobsing at svn.parrot.org
plobsing at svn.parrot.org
Tue Aug 24 15:33:13 UTC 2010
Author: plobsing
Date: Tue Aug 24 15:33:12 2010
New Revision: 48627
URL: https://trac.parrot.org/parrot/changeset/48627
Log:
remove now-redundant i386-specific inlining
Modified:
trunk/src/packfile/pf_items.c
Modified: trunk/src/packfile/pf_items.c
==============================================================================
--- trunk/src/packfile/pf_items.c Tue Aug 24 15:28:49 2010 (r48626)
+++ trunk/src/packfile/pf_items.c Tue Aug 24 15:33:12 2010 (r48627)
@@ -893,16 +893,14 @@
unsigned char buf[4];
opcode_t o;
} u;
-#if PARROT_BIGENDIAN
fetch_buf_le_4(u.buf, b);
+#if PARROT_BIGENDIAN
# if OPCODE_T_SIZE == 8
return (Parrot_Int4)(u.o >> 32);
# else
return (opcode_t) fetch_iv_be((INTVAL)u.o);
# endif
#else
- /* inlining the effects of the fetch_buf_le_4() call is worth it */
- memcpy(u.buf, b, 4);
# if OPCODE_T_SIZE == 8
/* without the cast we would not get a negative int, the vtable indices */
return (Parrot_Int4)(u.o & 0xffffffff);
More information about the parrot-commits
mailing list