Bug 1055911 - add PatchBackedge to the non-ion jit. r=nicolas.b.pierron

This commit is contained in:
Steve Singer 2014-08-20 17:42:00 -07:00
parent 49a09b0c9d
commit 17644f670e
2 changed files with 19 additions and 0 deletions

View File

@ -56,8 +56,20 @@ class LIRGeneratorNone : public LIRGeneratorShared
bool lowerMulI(MMul *, MDefinition *, MDefinition *) { MOZ_CRASH(); }
bool lowerUDiv(MDiv *) { MOZ_CRASH(); }
bool lowerUMod(MMod *) { MOZ_CRASH(); }
bool visitBox(MBox *box) { MOZ_CRASH(); }
bool visitUnbox(MUnbox *unbox) { MOZ_CRASH(); }
bool visitReturn(MReturn *ret) { MOZ_CRASH(); }
bool visitPowHalf(MPowHalf *) { MOZ_CRASH(); }
bool visitAsmJSNeg(MAsmJSNeg *) { MOZ_CRASH(); }
bool visitGuardShape(MGuardShape *ins) { MOZ_CRASH(); }
bool visitGuardObjectType(MGuardObjectType *ins) { MOZ_CRASH(); }
bool visitAsmJSUnsignedToDouble(MAsmJSUnsignedToDouble *ins) { MOZ_CRASH(); }
bool visitAsmJSUnsignedToFloat32(MAsmJSUnsignedToFloat32 *ins) { MOZ_CRASH(); }
bool visitAsmJSLoadHeap(MAsmJSLoadHeap *ins) { MOZ_CRASH(); }
bool visitAsmJSStoreHeap(MAsmJSStoreHeap *ins) { MOZ_CRASH(); }
bool visitAsmJSLoadFuncPtr(MAsmJSLoadFuncPtr *ins) { MOZ_CRASH(); }
bool visitStoreTypedArrayElementStatic(MStoreTypedArrayElementStatic *ins) { MOZ_CRASH(); }
bool visitForkJoinGetSlice(MForkJoinGetSlice *ins) { MOZ_CRASH(); }
LTableSwitch *newLTableSwitch(LAllocation, LDefinition, MTableSwitch *) { MOZ_CRASH(); }
LTableSwitchV *newLTableSwitchV(MTableSwitch *) { MOZ_CRASH(); }

View File

@ -10,6 +10,7 @@
#include "jit/MoveResolver.h"
#include "jit/shared/Assembler-shared.h"
#include "jit/JitCompartment.h"
namespace js {
namespace jit {
@ -219,6 +220,7 @@ class MacroAssemblerNone : public Assembler
CodeOffsetJump jumpWithPatch(RepatchLabel *) { MOZ_CRASH(); }
CodeOffsetJump jumpWithPatch(RepatchLabel *, Condition) { MOZ_CRASH(); }
CodeOffsetJump backedgeJump(RepatchLabel *label) { MOZ_CRASH(); }
template <typename T, typename S>
CodeOffsetJump branchPtrWithPatch(Condition, T, S, RepatchLabel *) { MOZ_CRASH(); }
@ -403,6 +405,11 @@ class ABIArgGenerator
static inline void PatchJump(CodeLocationJump &, CodeLocationLabel) { MOZ_CRASH(); }
static inline bool GetTempRegForIntArg(uint32_t, uint32_t, Register *) { MOZ_CRASH(); }
static inline
void PatchBackedge(CodeLocationJump &jump_, CodeLocationLabel label, JitRuntime::BackedgeTarget target)
{
MOZ_CRASH();
}
} // namespace jit
} // namespace js