Bug 1192689 - Add in classes to LIR-none. r=nbp
authorSteve Singer <steve@ssinger.info>
Tue, 11 Aug 2015 20:15:00 -0400
changeset 284821 494bb118f05c287ef172ecd2d364d5d57196b948
parent 284820 984024ad7c0c3748eb1e111f874b7e21e414361b
child 284822 08385a5ad3d57564f2b9fa0183f0c00c2d2a34f4
push id4340
push userxquan@mozilla.com
push dateWed, 12 Aug 2015 23:38:35 +0000
reviewersnbp
bugs1192689
milestone43.0a1
Bug 1192689 - Add in classes to LIR-none. r=nbp
js/src/jit/none/LIR-none.h
--- a/js/src/jit/none/LIR-none.h
+++ b/js/src/jit/none/LIR-none.h
@@ -38,16 +38,82 @@ 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 LAsmJSUInt32ToFloat32 : public LInstruction
+{
+  public:
+    LAsmJSUInt32ToFloat32(const LAllocation& ) { MOZ_CRASH(); }
+};
+
+class LUnbox : public LInstructionHelper<1, 2, 0>
+{
+  public:
+
+    MUnbox* mir() const { MOZ_CRASH(); }
+    const LAllocation* payload() { MOZ_CRASH(); }
+    const LAllocation* type() { MOZ_CRASH(); }
+    const char* extraName() const { MOZ_CRASH(); }
+};
+class LDivI : public LBinaryMath<1>
+{
+  public:
+    LDivI(const LAllocation& , const LAllocation& ,
+          const LDefinition& ) {
+        MOZ_CRASH();
+    }
+    MDiv* mir() const { MOZ_CRASH(); }
+};
+class LDivPowTwoI : public LInstructionHelper<1, 1, 0>
+{
+  public:
+    LDivPowTwoI(const LAllocation& , int32_t ) { MOZ_CRASH(); }
+    const LAllocation* numerator() { MOZ_CRASH(); }
+    int32_t shift() { MOZ_CRASH(); }
+    MDiv* mir() const { MOZ_CRASH(); }
+};
+class LModI : public LBinaryMath<1>
+{
+  public:
+    LModI(const LAllocation&, const LAllocation&,
+          const LDefinition&)
+    {
+        MOZ_CRASH();
+    }
+
+    const LDefinition* callTemp() { MOZ_CRASH(); }
+    MMod* mir() const { MOZ_CRASH(); }
+};
+class LAsmJSLoadFuncPtr : public LInstructionHelper<1, 1, 1>
+{
+  public:
+    LAsmJSLoadFuncPtr(const LAllocation&, const LDefinition&) { MOZ_CRASH(); }
+    const MAsmJSLoadFuncPtr* mir() const { MOZ_CRASH(); }
+    const LAllocation* index() { MOZ_CRASH(); }
+    const LDefinition* temp() { MOZ_CRASH(); }
+};
+class LAsmJSUInt32ToDouble : public LInstructionHelper<1, 1, 0>
+{
+  public:
+    LAsmJSUInt32ToDouble(const LAllocation&) { MOZ_CRASH(); }
+};
+class LModPowTwoI : public LInstructionHelper<1, 1, 0>
+{
+
+  public:
+    int32_t shift() { MOZ_CRASH(); }
+    LModPowTwoI(const LAllocation& lhs, int32_t shift) { MOZ_CRASH(); }
+    MMod* mir() const { MOZ_CRASH(); }
+};
+
 class LGuardShape : public LInstruction {};
 class LGuardObjectGroup : public LInstruction {};
 class LMulI : public LInstruction {};
 class LRandom : public LInstructionHelper<1, 0, 5> {};
 
 } // namespace jit
 } // namespace js