Bug 1329019 - fix JS_CODEGEN_NONE (r=npotb)
authorLuke Wagner <luke@mozilla.com>
Mon, 25 Sep 2017 12:07:16 -0500
changeset 382813 f26c09f0f737b90e090b1bac5398671290f49676
parent 382812 9007fcde0344ea646f0d6b6d9132e734bea7b6e4
child 382814 27ba09aa4be87e7dc6e036bbbe1045e2a2a19f01
push id32575
push userkwierso@gmail.com
push dateMon, 25 Sep 2017 23:41:46 +0000
treeherdermozilla-central@e6b3498a39b9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnpotb
bugs1329019
milestone58.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1329019 - fix JS_CODEGEN_NONE (r=npotb) MozReview-Commit-ID: BWv4lyTCo3I
js/src/jit/none/MacroAssembler-none.h
--- a/js/src/jit/none/MacroAssembler-none.h
+++ b/js/src/jit/none/MacroAssembler-none.h
@@ -145,16 +145,18 @@ class Assembler : public AssemblerShared
 
     static void PatchWrite_NearCall(CodeLocationLabel, CodeLocationLabel) { MOZ_CRASH(); }
     static uint32_t PatchWrite_NearCallSize() { MOZ_CRASH(); }
 
     static void ToggleToJmp(CodeLocationLabel) { MOZ_CRASH(); }
     static void ToggleToCmp(CodeLocationLabel) { MOZ_CRASH(); }
     static void ToggleCall(CodeLocationLabel, bool) { MOZ_CRASH(); }
 
+    static void Bind(uint8_t*, CodeOffset, CodeOffset) { MOZ_CRASH(); }
+
     static uintptr_t GetPointer(uint8_t*) { MOZ_CRASH(); }
 
     static bool HasRoundInstruction(RoundingMode) { return false; }
 
     void verifyHeapAccessDisassembly(uint32_t begin, uint32_t end,
                                      const Disassembler::HeapAccess& heapAccess)
     {
         MOZ_CRASH();
@@ -182,17 +184,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(); }
 
+    bool reserve(size_t size) { MOZ_CRASH(); }
     bool appendRawCode(const uint8_t* code, size_t numBytes) { MOZ_CRASH(); }
+    bool swapBuffer(wasm::Bytes& bytes) { 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; }
     static bool SupportsUnalignedAccesses() { return false; }