// Nothing to do; jump tables are incorporated into the instruction stream.
}
-static void ComputeLegalValueVTs(const Function &F,
- const TargetMachine &TM,
- Type *Ty,
- SmallVectorImpl<MVT> &ValueVTs) {
- const DataLayout& DL(F.getParent()->getDataLayout());
+static void ComputeLegalValueVTs(const Function &F, const TargetMachine &TM,
+ Type *Ty, SmallVectorImpl<MVT> &ValueVTs) {
+ const DataLayout &DL(F.getParent()->getDataLayout());
const WebAssemblyTargetLowering &TLI =
*TM.getSubtarget<WebAssemblySubtarget>(F).getTargetLowering();
SmallVector<EVT, 4> VTs;
EmitToStreamer(*OutStreamer, Param);
}
-
SmallVector<MVT, 4> ResultVTs;
const Function &F(*MF->getFunction());
ComputeLegalValueVTs(F, TM, F.getReturnType(), ResultVTs);