* src/vm/jit/emit-common.h (emit_replacement_stubs): Only declare
authoredwin <none@none>
Tue, 2 Jan 2007 21:12:53 +0000 (21:12 +0000)
committeredwin <none@none>
Tue, 2 Jan 2007 21:12:53 +0000 (21:12 +0000)
prototype if ENABLE_REPLACEMENT.

src/vm/jit/emit-common.h

index fb605ae494cb160c7e087287e64a17493f7fcb8f..c91c48f356deeb677b31980a5e4cde52928a3288 100644 (file)
@@ -114,7 +114,9 @@ void emit_array_checks(codegendata *cd, instruction *iptr, s4 s1, s4 s2);
 
 void emit_exception_stubs(jitdata *jd);
 void emit_patcher_stubs(jitdata *jd);
+#if defined(ENABLE_REPLACEMENT)
 void emit_replacement_stubs(jitdata *jd);
+#endif
 
 void emit_verbosecall_enter(jitdata *jd);
 void emit_verbosecall_exit(jitdata *jd);