[Bug 441619] Fixing ICC compilation issue: in goto *expr the type of expr should be void*. r=sayrer

This commit is contained in:
Igor Bukanov 2008-06-24 22:31:16 +02:00
parent 8d7a73885f
commit 6e6c0b7a90

View File

@ -2566,7 +2566,7 @@ js_Interpret(JSContext *cx)
JSFunction *fun;
JSType type;
#if JS_THREADED_INTERP
register const void * const *jumpTable;
register void * const *jumpTable;
#else
register uint32 switchMask;
uintN switchOp;
@ -2589,14 +2589,14 @@ js_Interpret(JSContext *cx)
#endif
#if JS_THREADED_INTERP
static const void *const normalJumpTable[] = {
static void *const normalJumpTable[] = {
# define OPDEF(op,val,name,token,length,nuses,ndefs,prec,format) \
JS_EXTENSION &&L_##op,
# include "jsopcode.tbl"
# undef OPDEF
};
static const void *const interruptJumpTable[] = {
static void *const interruptJumpTable[] = {
# define OPDEF(op,val,name,token,length,nuses,ndefs,prec,format) \
JS_EXTENSION &&L_JSOP_INTERRUPT,
# include "jsopcode.tbl"