Bug 1317033 - Fix no-ion builds. r=luke, a=jcristau
authorBenjamin Bouvier <benj@benj.me>
Wed, 16 Nov 2016 15:54:38 +0100
changeset 352773 8b0e2637bfd62a497bfc24ad9fb1915f7288d10d
parent 352772 e55b04dfc2b5c6bdc0c010b78e8fefb98fe9bea6
child 352774 4f3edfcbc9ba6ec3701699ed1883d4916f2ae3ee
push id6795
push userjlund@mozilla.com
push dateMon, 23 Jan 2017 14:19:46 +0000
treeherdermozilla-esr52@76101b503191 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersluke, jcristau
bugs1317033
milestone52.0a2
Bug 1317033 - Fix no-ion builds. r=luke, a=jcristau MozReview-Commit-ID: 5lmLNZP38bX
js/src/jit/none/MacroAssembler-none.h
--- a/js/src/jit/none/MacroAssembler-none.h
+++ b/js/src/jit/none/MacroAssembler-none.h
@@ -420,16 +420,22 @@ class MacroAssemblerNone : public Assemb
     // Instrumentation for entering and leaving the profiler.
     void profilerEnterFrame(Register , Register ) { MOZ_CRASH(); }
     void profilerExitFrame() { MOZ_CRASH(); }
 
 #ifdef JS_NUNBOX32
     Address ToPayload(Address) { MOZ_CRASH(); }
     Address ToType(Address) { MOZ_CRASH(); }
 #endif
+
+    struct AutoPrepareForPatching {
+        explicit AutoPrepareForPatching(MacroAssemblerNone&) {
+            MOZ_CRASH();
+        }
+    };
 };
 
 typedef MacroAssemblerNone MacroAssemblerSpecific;
 
 class ABIArgGenerator
 {
   public:
     ABIArgGenerator() { MOZ_CRASH(); }