Skip to content

Commit 9ed1b84

Browse files
committed
Remove some unimplemented functions
1 parent 137e9e0 commit 9ed1b84

File tree

7 files changed

+6
-22
lines changed

7 files changed

+6
-22
lines changed

lib/Backend/AgenPeeps.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ class AgenPeeps
2222
bool AlwaysDependent(IR::Instr *instr);
2323
bool DependentOpnds(IR::Opnd *opnd1, IR::Opnd *opnd2);
2424
bool AgenDependentInstrs(IR::Instr *instr1, IR::Instr *instr2);
25-
bool IsMemoryInstr(IR::Instr *instr);
26-
bool IsLoad(IR::Instr *instr);
27-
bool IsStore(IR::Instr *instr);
2825
bool IsMemoryOpnd(IR::Opnd *opnd);
2926
};
3027

lib/Backend/AsmJsJITInfo.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ class AsmJsJITInfo
1818
int Get##name##TmpCount() const { return m_data.typedSlotInfos[WAsmJs::##type].tmpCount; }\
1919
int Get##name##VarCount() const { return m_data.typedSlotInfos[WAsmJs::##type].varCount; }
2020

21-
TYPED_SLOT_INFO_GETTER(Double, FLOAT64);
22-
TYPED_SLOT_INFO_GETTER(Float, FLOAT32);
23-
TYPED_SLOT_INFO_GETTER(Int, INT32);
24-
TYPED_SLOT_INFO_GETTER(Int64, INT64);
25-
TYPED_SLOT_INFO_GETTER(Simd, SIMD);
21+
TYPED_SLOT_INFO_GETTER(Double, FLOAT64)
22+
TYPED_SLOT_INFO_GETTER(Float, FLOAT32)
23+
TYPED_SLOT_INFO_GETTER(Int, INT32)
24+
TYPED_SLOT_INFO_GETTER(Int64, INT64)
25+
TYPED_SLOT_INFO_GETTER(Simd, SIMD)
2626

2727
int GetTotalSizeInBytes() const;
2828
Js::ArgSlot GetArgCount() const;

lib/Backend/BackwardPass.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,9 @@ class BackwardPass
3838
void ProcessFieldKills(IR::Instr * instr);
3939
template<typename T> void ClearBucketsOnFieldKill(IR::Instr *instr, HashTable<T> *table);
4040
void ProcessFieldHoistKills(IR::Instr * instr);
41-
bool ProcessBailOutInfo(IR::Instr * instr, bool preOpBailout);
4241
bool ProcessBailOutInfo(IR::Instr * instr);
43-
void ProcessPendingPreOpBailOutInfo(IR::Instr *const currentInstr);
4442
void ProcessBailOutInfo(IR::Instr * instr, BailOutInfo * bailOutInfo);
43+
void ProcessPendingPreOpBailOutInfo(IR::Instr *const currentInstr);
4544
void ProcessBailOutArgObj(BailOutInfo * bailOutInfo, BVSparse<JitArenaAllocator> * byteCodeUpwardExposedUsed);
4645
void ProcessBailOutConstants(BailOutInfo * bailOutInfo, BVSparse<JitArenaAllocator> * byteCodeUpwardExposedUsed, BVSparse<JitArenaAllocator>* argSymsBv);
4746
void ProcessBailOutCopyProps(BailOutInfo * bailOutInfo, BVSparse<JitArenaAllocator> * byteCodeUpwardExposedUsed, BVSparse<JitArenaAllocator>* argSymsBv);

lib/Backend/BailOut.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,6 @@ class BailOutRecord
200200
}
201201

202202
public:
203-
template <size_t N>
204-
void FillNativeRegToByteCodeRegMap(uint (&nativeRegToByteCodeRegMap)[N]);
205-
206203
void IsOffsetNativeIntOrFloat(uint offsetIndex, int argOutSlotStart, bool * pIsFloat64, bool * pIsInt32,
207204
bool * pIsSimd128F4, bool * pIsSimd128I4, bool * pIsSimd128I8, bool * pIsSimd128I16,
208205
bool * pIsSimd128U4, bool * pIsSimd128U8, bool * pIsSimd128U16, bool * pIsSimd128B4, bool * pIsSimd128B8, bool * pIsSimd128B16) const;
@@ -267,7 +264,6 @@ class BailOutRecord
267264
uint regSlot, int offset, bool isLocal, bool isFloat64, bool isInt32,
268265
bool isSimd128F4, bool isSimd128I4, bool isSimd128I8, bool isSimd128I16,
269266
bool isSimd128U4, bool isSimd128U8, bool isSimd128U16, bool isSimd128B4, bool isSimd128B8, bool isSimd128B16 ) const;
270-
void RestoreInlineFrame(InlinedFrameLayout *inlinedFrame, Js::JavascriptCallStackLayout * layout, Js::Var * registerSaves);
271267

272268
void AdjustOffsetsForDiagMode(Js::JavascriptCallStackLayout * layout, Js::ScriptFunction * function) const;
273269

lib/Backend/CodeGenWorkItem.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,6 @@ struct CodeGenWorkItem : public JsUtil::Job
186186

187187
QueuedFullJitWorkItem *GetQueuedFullJitWorkItem() const;
188188
QueuedFullJitWorkItem *EnsureQueuedFullJitWorkItem();
189-
190-
private:
191-
bool ShouldSpeculativelyJit() const;
192189
};
193190

194191
struct JsFunctionCodeGen sealed : public CodeGenWorkItem

lib/Backend/FlowGraph.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ class FlowGraph
174174
bool Dominates(Region *finallyRegion, Region *exitLabelRegion);
175175
bool DoesExitLabelDominate(IR::BranchInstr *leaveInstr);
176176
void InsertEdgeFromFinallyToEarlyExit(BasicBlock * finallyEndBlock, IR::LabelInstr * exitLabel);
177-
BasicBlock * FindInfiniteLoop(BasicBlock * finallyBlock);
178177
#if DBG_DUMP
179178
void Dump();
180179
void Dump(bool verbose, const char16 *form);

lib/Backend/GlobOpt.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,6 @@ class GlobOpt
612612
bool TryTypeSpecializeUnaryToFloatHelper(IR::Instr** pInstr, Value** pSrc1Val, Value* const src1OriginalVal, Value **pDstVal);
613613
bool TypeSpecializeBailoutExpectedInteger(IR::Instr* instr, Value* src1Val, Value** dstVal);
614614
bool TypeSpecializeStElem(IR::Instr **pInstr, Value *src1Val, Value **pDstVal);
615-
bool TryGetIntConstIndexValue(IR::Instr *instr, IR::IndirOpnd *indirOpnd, bool checkSym, int32 *pValue, bool *isNotInt);
616615
bool ShouldExpectConventionalArrayIndexValue(IR::IndirOpnd *const indirOpnd);
617616
ValueType GetDivValueType(IR::Instr* instr, Value* src1Val, Value* src2Val, bool specialize);
618617

@@ -632,7 +631,6 @@ class GlobOpt
632631
bool InspectInstrForMemSetCandidate(Loop* loop, IR::Instr* instr, struct MemSetEmitData* emitData, bool& errorInInstr);
633632
bool InspectInstrForMemCopyCandidate(Loop* loop, IR::Instr* instr, struct MemCopyEmitData* emitData, bool& errorInInstr);
634633
bool ValidateMemOpCandidates(Loop * loop, _Out_writes_(iEmitData) struct MemOpEmitData** emitData, int& iEmitData);
635-
void HoistHeadSegmentForMemOp(IR::Instr *instr, IR::ArrayRegOpnd *arrayRegOpnd, IR::Instr *insertBeforeInstr);
636634
void EmitMemop(Loop * loop, LoopCount *loopCount, const struct MemOpEmitData* emitData);
637635
IR::Opnd* GenerateInductionVariableChangeForMemOp(Loop *loop, byte unroll, IR::Instr *insertBeforeInstr = nullptr);
638636
IR::RegOpnd* GenerateStartIndexOpndForMemop(Loop *loop, IR::Opnd *indexOpnd, IR::Opnd *sizeOpnd, bool isInductionVariableChangeIncremental, bool bIndexAlreadyChanged, IR::Instr *insertBeforeInstr = nullptr);
@@ -976,7 +974,5 @@ class GlobOpt
976974
void TrackTempObjectSyms(IR::Instr * instr, IR::RegOpnd * opnd);
977975
IR::Instr * GenerateBailOutMarkTempObjectIfNeeded(IR::Instr * instr, IR::Opnd * opnd, bool isDst);
978976

979-
static void InstantiateForceInlinedMembers_GlobOptIntBounds();
980-
981977
friend class InvariantBlockBackwardIterator;
982978
};

0 commit comments

Comments
 (0)