Bug 1425580 - Fix nojit build. r=red CLOSED TREE
authorJan de Mooij <jdemooij@mozilla.com>
Tue, 06 Feb 2018 14:59:00 +0100
changeset 751777 b5cfc56349734b20935ff9d89dc7028933ea8856
parent 751776 56056bad50c07a6fe4473f8c49e3497372e4f151
child 751778 cefac2e7eb0c3e22bd4a69833aba1d677a0ff3e9
push id98047
push userbmo:continuation@gmail.com
push dateTue, 06 Feb 2018 22:02:37 +0000
reviewersred
bugs1425580
milestone60.0a1
Bug 1425580 - Fix nojit build. r=red CLOSED TREE
js/src/jit/none/LIR-none.h
--- a/js/src/jit/none/LIR-none.h
+++ b/js/src/jit/none/LIR-none.h
@@ -38,20 +38,20 @@ class LTableSwitchV : public LInstructio
 
     const LDefinition* tempInt() { MOZ_CRASH(); }
     const LDefinition* tempFloat() { MOZ_CRASH(); }
     const LDefinition* tempPointer() { MOZ_CRASH(); }
 
     static const size_t InputValue = 0;
 };
 
-class LWasmUint32ToFloat32 : public LInstruction
+class LWasmUint32ToFloat32 : public LInstructionHelper<1, 1, 0>
 {
   public:
-    LWasmUint32ToFloat32(const LAllocation& ) { MOZ_CRASH(); }
+    LWasmUint32ToFloat32(const LAllocation&) { MOZ_CRASH(); }
 };
 
 class LUnbox : public LInstructionHelper<1, 2, 0>
 {
   public:
 
     MUnbox* mir() const { MOZ_CRASH(); }
     const LAllocation* payload() { MOZ_CRASH(); }