Skip to content

Commit e8b2f62

Browse files
committed
Lua: Eliminate check for Word.wordSize
1 parent 044da23 commit e8b2f62

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/lunarml/ml/basis/lua/word.sml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,10 +329,12 @@ local
329329
val fromLargeWord = fromLarge
330330
end
331331
structure LargeWord = Word64
332+
(*
332333
val () = if Word.wordSize <> 64 then
333334
raise Fail "Word64 is not available"
334335
else
335336
()
337+
*)
336338
fun wordToWord8 x = Word.andb (x, Word8.FULL)
337339
fun wordToWord16 x = Word.andb (x, Word16.FULL)
338340
fun wordToWord32 x = Word.andb (x, Word32.FULL)

0 commit comments

Comments
 (0)