mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-29 06:31:59 +00:00
Accessor parsing; Cleanup
This commit is contained in:
@ -2,8 +2,6 @@
|
||||
// Useful as a compiler test in this state, but nothing more.
|
||||
// based upon: https://github.com/mattconte/tlsf/blob/master/tlsf.c (BSD)
|
||||
|
||||
/// <reference path="../../assembly.d.ts" />
|
||||
|
||||
/** Finds the index of the least bit set. */
|
||||
function fls(word: u32): i32 {
|
||||
return !word ? -1: 31 - clz<i32>(word);
|
||||
|
6
tests/compiler/tsconfig.json
Normal file
6
tests/compiler/tsconfig.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"extends": "../../std/assembly.json",
|
||||
"include": [
|
||||
"./*.ts"
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user