Bug 1192689 - Add in classes to LIR-none. r=nbp, a=sledru
authorSteve Singer <steve@ssinger.info>
Tue, 11 Aug 2015 20:15:00 -0400
changeset 288764 de6275eaa3add2a18de6a3ad532d30efef733239
parent 288763 ba6a50587731597eaa380c3274e588ffca089c89
child 288765 15d22701fdae4f11d1f337ea5fa50f050a6ea658
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnbp, sledru
bugs1192689
milestone42.0a2
Bug 1192689 - Add in classes to LIR-none. r=nbp, a=sledru
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