Bug 1144692: Fix --disable-ion builds; r=h4writer

--HG--
extra : amend_source : f53a8fb37dbb3e79268b4ca50efb3a4b06e1d8bd
This commit is contained in:
Benjamin Bouvier 2015-03-23 07:59:36 +01:00
parent 5df93c206d
commit 7f11646965
3 changed files with 10 additions and 3 deletions

View File

@ -3490,12 +3490,12 @@ CodeGenerator::visitCallDirectEvalV(LCallDirectEvalV *lir)
callVM(DirectEvalValueInfo, lir);
}
// Registers safe for use before generatePrologue().
static const uint32_t EntryTempMask = Registers::TempMask & ~(1 << OsrFrameReg.code());
void
CodeGenerator::generateArgumentsChecks(bool bailout)
{
// Registers safe for use before generatePrologue().
static const uint32_t EntryTempMask = Registers::TempMask & ~(1 << OsrFrameReg.code());
// This function can be used the normal way to check the argument types,
// before entering the function and bailout when arguments don't match.
// For debug purpose, this is can also be used to force/check that the

View File

@ -111,6 +111,7 @@ struct FloatRegister
FloatRegister asInt32x4() const { MOZ_CRASH(); }
FloatRegister asFloat32x4() const { MOZ_CRASH(); }
Code code() const { MOZ_CRASH(); }
Encoding encoding() const { MOZ_CRASH(); }
const char *name() const { MOZ_CRASH(); }
bool volatile_() const { MOZ_CRASH(); }
bool operator != (FloatRegister) const { MOZ_CRASH(); }

View File

@ -132,6 +132,12 @@ class Assembler : public AssemblerShared
static void ToggleCall(CodeLocationLabel, bool) { MOZ_CRASH(); }
static uintptr_t GetPointer(uint8_t *) { MOZ_CRASH(); }
void verifyHeapAccessDisassembly(uint32_t begin, uint32_t end,
const Disassembler::HeapAccess &heapAccess)
{
MOZ_CRASH();
}
};
class Operand