Bug 1229258: Implement dummy asmMergeWith/retargetWithOffset functions in none backend; r=h4writer
authorBenjamin Bouvier <benj@benj.me>
Tue, 01 Dec 2015 13:06:35 +0100
changeset 313253 0b3bcb3158ba59b2525c0d95a4ffe57541580229
parent 312887 d37396f33f761ace0b5f7cedaee4e14a1703fed0
child 313254 d9a1efa7d1ab0c74cc2f297e627221d454515fe3
push id8060
push usergijskruitbosch@gmail.com
push dateWed, 02 Dec 2015 10:24:00 +0000
reviewersh4writer
bugs1229258
milestone45.0a1
Bug 1229258: Implement dummy asmMergeWith/retargetWithOffset functions in none backend; r=h4writer
js/src/jit/none/MacroAssembler-none.h
--- a/js/src/jit/none/MacroAssembler-none.h
+++ b/js/src/jit/none/MacroAssembler-none.h
@@ -140,18 +140,16 @@ class Assembler : public AssemblerShared
 class Operand
 {
   public:
     Operand (const Address&) { MOZ_CRASH();}
     Operand (const Register) { MOZ_CRASH();}
     Operand (const FloatRegister) { MOZ_CRASH();}
     Operand (Register, Imm32 ) { MOZ_CRASH(); }
     Operand (Register, int32_t ) { MOZ_CRASH(); }
-
-
 };
 
 class MacroAssemblerNone : public Assembler
 {
   public:
     MacroAssemblerNone() { MOZ_CRASH(); }
 
     MoveResolver moveResolver_;
@@ -160,16 +158,19 @@ class MacroAssemblerNone : public Assemb
     size_t bytesNeeded() const { MOZ_CRASH(); }
     size_t jumpRelocationTableBytes() const { MOZ_CRASH(); }
     size_t dataRelocationTableBytes() const { MOZ_CRASH(); }
     size_t preBarrierTableBytes() const { MOZ_CRASH(); }
 
     size_t numCodeLabels() const { MOZ_CRASH(); }
     CodeLabel codeLabel(size_t) { MOZ_CRASH(); }
 
+    void retargetWithOffset(size_t, const LabelBase*, LabelBase*) { MOZ_CRASH(); }
+    bool asmMergeWith(const MacroAssemblerNone&) { MOZ_CRASH(); }
+
     void trace(JSTracer*) { MOZ_CRASH(); }
     static void TraceJumpRelocations(JSTracer*, JitCode*, CompactBufferReader&) { MOZ_CRASH(); }
     static void TraceDataRelocations(JSTracer*, JitCode*, CompactBufferReader&) { MOZ_CRASH(); }
 
     static bool SupportsFloatingPoint() { return false; }
     static bool SupportsSimd() { return false; }
 
     void executableCopy(void*) { MOZ_CRASH(); }