openbsd-ports/www/mozilla-firefox/patches/patch-js_src_nanojit_Assembler_h
landry 9b8dad4d1e Add patches to allow building a debug-flavoured working package (at
least on amd64). Codepaths only used in that case.
2010-10-27 08:10:59 +00:00

15 lines
627 B
Plaintext

$OpenBSD: patch-js_src_nanojit_Assembler_h,v 1.1 2010/10/27 08:10:59 landry Exp $
allow to build a debug FLAVOR on !i386
--- js/src/nanojit/Assembler.h.orig Tue Oct 26 23:33:05 2010
+++ js/src/nanojit/Assembler.h Tue Oct 26 23:33:50 2010
@@ -259,7 +259,9 @@ namespace nanojit
bool _inExit, vpad2[3];
+#ifdef NANOJIT_IA32
verbose_only( void asm_inc_m32(uint32_t*); )
+#endif
void asm_setcc(Register res, LIns *cond);
NIns * asm_jmpcc(bool brOnFalse, LIns *cond, NIns *target);
void asm_mmq(Register rd, int dd, Register rs, int ds);