Bug 545113 - Compiling for MIPS fails during linking (r+rreitmai) [c.dearman]

Compiling tamarin-redux for MIPS fails during linking with the following error:

./libavmplus.a(Assembler.o): In function
`nanojit::Assembler::gen(nanojit::LirFilter*)':
Assembler.cpp:(.text+0x4e14): undefined reference to
`nanojit::Assembler::asm_q2i(nanojit::LIns*)'
Assembler.cpp:(.text+0x4e1c): undefined reference to
`nanojit::Assembler::asm_q2i(nanojit::LIns*)'

--HG--
extra : convert_revision : 63fda420c52dbe5b328e978ebe50c297ff2cb729
This commit is contained in:
Rick Reitmaier 2010-02-11 15:52:18 -08:00
parent b83b1b23c3
commit 791422e319

View File

@ -655,6 +655,12 @@ namespace nanojit
TAG("asm_quad(ins=%p{%s})", ins, lirNames[ins->opcode()]);
}
void
Assembler::asm_q2i(LIns *)
{
NanoAssert(0); // q2i shouldn't occur on 32-bit platforms
}
void Assembler::asm_promote(LIns *ins)
{
USE(ins);