17b63192b8
${LOCALBASE}/firefox36 with firefox36 binary. Needed for archs firefox 4 doesn't support (yet?). Yes, i'm looking at you sparc64. Not yet linked to the build.
18 lines
887 B
Plaintext
18 lines
887 B
Plaintext
$OpenBSD: patch-js_src_nanojit_Assembler_cpp,v 1.1 2011/03/26 10:58:36 landry Exp $
|
|
allow to build a debug FLAVOR on !i386
|
|
--- js/src/nanojit/Assembler.cpp.orig Tue Oct 26 23:36:11 2010
|
|
+++ js/src/nanojit/Assembler.cpp Tue Oct 26 23:37:38 2010
|
|
@@ -1223,10 +1223,12 @@ namespace nanojit
|
|
countlir_label();
|
|
LabelState *label = _labels.get(ins);
|
|
// add profiling inc, if necessary.
|
|
+#ifdef NANOJIT_IA32
|
|
verbose_only( if (_logc->lcbits & LC_FragProfile) {
|
|
if (ins == _thisfrag->loopLabel)
|
|
asm_inc_m32(& _thisfrag->profCount);
|
|
})
|
|
+#endif
|
|
if (!label) {
|
|
// label seen first, normal target of forward jump, save addr & allocator
|
|
_labels.add(ins, _nIns, _allocator);
|