on master help sign in
Remove redundant and erroneous codegen case
commita098c2a34a537de7d08d127525dcaf79e3eb949f authorBenjamin Saunders <besaunde@sfu.ca> dateThu 11 Jul 2013, 11:54 (13 years ago) parent53f344a
1 file changed−2
src/IRTS/CodegenC.hs−2
src/IRTS/CodegenC.hs−2
@@ -364,8 +364,6 @@ doOp v (LSRem (ATInt (ITFixed ty))) [x, y] = bitOp v "SRem" ty [x, y]
364364
365365doOp v (LSExt (ITFixed from) ITBig) [x]
366366 = v ++ "MKBIGSI(vm, (" ++ signedTy from ++ ")" ++ creg x ++ "->info.bits" ++ show (nativeTyWidth from) ++ ")"
367−doOp v (LZExt ITNative ITBig) [x]
368− = v ++ "MKBIGSI(vm, GETINT(" ++ creg x ++ "))"
369367doOp v (LSExt ITNative (ITFixed to)) [x]
370368 = v ++ "idris_b" ++ show (nativeTyWidth to) ++ "const(vm, GETINT(" ++ creg x ++ "))"
371369doOp v (LSExt ITChar (ITFixed to)) [x]